open-index/open-npm huggingface dataset:
npm package: @fiposv2/lit-ace
Description: Lit-Element Wrapper around the Ace Editor (https://ace.c9.io/)
Author: David Dodlek
Latest version: 1.0.1

[![Published on NPM](https://img.shields.io/npm/v/@f0rce/lit-ace)](https://www.npmjs.com/package/@f0rce/lit-ace)
[![Downloads](https://img.shields.io/npm/dt/@f0rce/lit-ace)](https://www.npmjs.com/package/@f0rce/lit-ace)
[![License](https://img.shields.io/github/license/f0rce/lit-ace)](https://github.com/F0rce/lit-ace/blob/master/LICENSE)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FF0rce%2Flit-ace.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FF0rce%2Flit-ace?ref=badge_shield)
[![CodeFactor](https://www.codefactor.io/repository/github/f0rce/lit-ace/badge)](https://www.codefactor.io/repository/github/f0rce/lit-ace)

# lit-ace #

Even <strong>more</strong> embeddable and lightweight code 
editor Custom Element - just one tag, and no JS 
needed to provide [Ace](http://ace.c9.io/) - The High Performance Code Editor

## Important Notice ##

This webcomponent has been built to fit and serve the needs of the Vaadin Add-on [Ace](https://vaadin.com/directory/component/ace) (which I created and actively maintain). 
When using this webcomponent in any other environment, please be carefull because it **only** has been tested in a Vaadin Add-on environment.

*Some methods just don't make sense when using in an non Vaadin environment as most functions depend on JSON input which I create in the Java/Vaadin backend.*


## Usage example

```html
  <lit-ace theme="terminal" mode="javascript" value="console.log('Have a great day :)')">
  </lit-ace>
```


## Install

Install the component using [npm](https://www.npmjs.com/package/@f0rce/lit-ace):

```sh
$ npm i @f0rce/lit-ace --save
```

Once installed, import it in your application:

```js
import "@f0rce/lit-ace/lit-ace.js";
```


## License

[MIT License](http://opensource.org/licenses/MIT)


[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FF0rce%2Flit-ace.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FF0rce%2Flit-ace?ref=badge_large)
npm package: @fippli/snake-case-to-camel-case
Description: Transform a string "ACTION_TYPE" to "actionType"
Author: Filip Johansson
Latest version: 1.0.1

# snake_case -> camelCase
Transform `"some_string"` into `"someString"``

## Installation
```javascript
npm install @fippli/snake-case-to-camel-case
```

## Basic usage
```javascript
import snakeCaseToCamelCase from '@fippli/snake-case-to-camel-case';

const MY_STRING = 'MY_STRING';

const myString = snakeCaseToCamelCase(MY_STRING);

console.log(myString); // => "myString"
```
npm package: @fiqryq/tailwind-config
Description: personal tailwind config.
Author: fiqryq
Latest version: 1.0.2

### Tailwind config

personal tailwind config.

### Installation 
```bash
# npm
npm i @fiqryq/tailwind-config

# yarn
yarn add @fiqryq/tailwind-config
```

### Usage
just import on ```tailwind.config.js```
```js
plugins: [require('@fiqryq/tailwind-config')]
```

### config style

```js
const defaultTheme = require("tailwindcss/defaultTheme");
const config = {
  theme: {
    extend: {
      fontFamily: {
        display: ["Poppins", ...defaultTheme.fontFamily.sans],
        body: ["Poppins", ...defaultTheme.fontFamily.sans],
        sans: ["Poppins", ...defaultTheme.fontFamily.sans],
      },
      fontSize: {
        tiny: "0.5rem",
        xs: "0.625rem",
        sm: "0.75rem",
        body: "0.875rem",
        base: "1rem",
        lg: "1.25rem",
        xl: "1.563rem",
        "2xl": "2rem",
        "3xl": "2.438rem",
        "4xl": "3rem",
      },
    },
  },
};

module.exports = { config };

```
npm package: @fiquu/cl-rut
Description: Chilean RUT utils for Node.js and the browser.
Author: fiquu
Latest version: 4.0.0

# @fiquu/cl-rut

[![Build Status](https://travis-ci.org/fiquu/cl-rut.svg?branch=master)](https://travis-ci.org/fiquu/cl-rut)
![GitHub](https://img.shields.io/github/license/fiquu/cl-rut)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/cl-rut)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/cl-rut)
![npm](https://img.shields.io/npm/dw/@fiquu/cl-rut)

Dependency-free, Chilean RUT utils for Node.js and browsers (transpiled).

## Requirements

This library has been tested with **Node.js 12, 14** and **NPM 6**.

## Installation

```sh
npm i @fiquu/cl-rut
```

## Usage

### Node.js

Import it into you projects as `'@fiquu/cl-rut'`:

```ts
import {
  cleanParts,
  calculate,
  verifier,
  validate,
  format,
  digits,
  clean,
} from '@fiquu/cl-rut';
```

## Examples

```ts
import clRut from '@fiquu/cl-rut';

const value = '22222222';

const calculated = calculate(value);
const verifier = verifier(value);
const isValid = validate(value);
const formatted = format(value);
const parts = cleanParts(value);
const digits = digits(value);
const clean = clean(value);
```

## Documentation

Please see [the documentation page](https://fiquu.github.io/cl-rut/) for more details.
npm package: @fiquu/database-manager-mongoose
Description: Database manager with Mongoose.
Author: fiquu
Latest version: 1.0.8

# @fiquu/database-manager-mongoose

[![Build Status](https://travis-ci.org/fiquu/database-manager-mongoose.svg?branch=master)](https://travis-ci.org/fiquu/database-manager-mongoose)
![GitHub](https://img.shields.io/github/license/fiquu/database-manager-mongoose)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/database-manager-mongoose)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/database-manager-mongoose)
![npm](https://img.shields.io/npm/dw/@fiquu/database-manager-mongoose)

Database connections manager with Mongoose.

## Installation

```sh
npm i @fiquu/database-manager-mongoose
```

## Usage

It's recommended to use it as a singleton instance in your project, so you can use the manager from any module.

`./configs/database.ts`:

```ts
import { DatabaseClientConfig } from '@fiquu/database-manager-mongoose';

const config: DatabaseClientConfig = {
  uri: 'mongodb://localhost:27017/test',
  options: {
    // Mongoose connection options here...
  }
};

export default [
  {
    name: 'default',
    config
  }

  // You could add more clients if necessary...
]
```

`./components/database.ts`:

```ts
import { createDatabaseManager } from '@fiquu/database-manager-mongoose';

import config from '../configs/database';

const manager = createDatabaseManager();

for (let client of config) {
  manager.add(client);
}

export default manager;
```

`./some/other/module.ts`:

```ts
import db from '../../components/database';

// Ensure the 'default' client is connected...
db.connect('default');

// ...

const User = db.connection('default').model('User');
const user = await User.create({
  //...
});

// ...
```

## Documentation

Please visit [the documentation page](https://fiquu.github.io/database-manager-mongoose/) for more info and options.
npm package: @fiquu/eslint-config
Description: fiquu ESLint standard config for TypeScript.
Author: fiquu
Latest version: 4.0.2

# @fiquu/eslint-config
fiquu ESLint standard configuration.

## Usage
```
npm i -D @fiquu/eslint-config
```

### JavaScript
Extend `@fiquu` in your ESLint config.

#### Example

##### `.eslintrc`:
```json
{
  "extends": ["@fiquu"]
}
```

### TypeScript
Extend `@fiquu/eslint-config/typescript` in your ESLint config.

#### Example

##### `.eslintrc`:
```json
{
  "extends": ["@fiquu/eslint-config/typescript"]
}
```

## Rules
See [`index.js`](./index.js) and [`typescript.js`](./typescript.js) to view all the applied rules.
npm package: @fiquu/is
Description: Small check library for Node.js and the browser.
Author: fiquu
Latest version: 3.0.2

# @fiquu/is

[![Build Status](https://travis-ci.org/fiquu/is.svg?branch=master)](https://travis-ci.org/fiquu/is)
![GitHub](https://img.shields.io/github/license/fiquu/is)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/is)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/is)
![npm](https://img.shields.io/npm/dw/@fiquu/is)

Functional, dependency-free check library for Node.js and the browser (transpiled).

## Installation

```sh
npm i @fiquu/is
```

## Usage

Import by category:

```ts
import { isString, isNumber } from '@fiquu/is/type';
import { isIntlPhone } from '@fiquu/is/regexp';

isString('foo'); // true
isString(2); // false

isNumber(1); // true
isNumber('1'); // false

intlPhone('+12015556677'); // true
intlPhone('1234'); // false
```

Or just what you need:

```ts
import { isIntlPhone } from '@fiquu/is/regexp/intl-phone';
import { isString } from '@fiquu/is/type/string';
import { isNumber } from '@fiquu/is/type/number';

isString('foo'); // true
isSstring(2); // false

isNumber(1); // true
isNumber('1'); // false

isIntlPhone('+12015556677'); // true
isIntlPhone('1234'); // false
```

### Multiple Values

If you need to check multiple values, then use the `some` and `every` array methods:

```ts
import { isString, isNumber } from '@fiquu/is/type';

['foo', 'bar'].every(isString); // true
[1, 2, 'baz'].every(isString); // false

[1, 2, 3, 4].every(isNumber); // true
[1, 2, 'foo'].every(isNumber); // false

['foo', 'bar', true].some(isString); // true
[1, 2, 'baz'].some(isString); // false

[1, null, '3'].some(isNumber); // true
[false, null, 'foo'].some(isNumber); // false
```

## Documentation

Please see [the documentation page](https://fiquu.github.io/is/) for more details.
npm package: @fiquu/logger
Description: fiquu project template.
Author: fiquu
Latest version: 1.0.6

# @fiquu/logger

[![Build Status](https://travis-ci.org/fiquu/logger.svg?branch=master)](https://travis-ci.org/fiquu/logger)
![GitHub](https://img.shields.io/github/license/fiquu/logger)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/logger)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/logger)
![npm](https://img.shields.io/npm/dw/@fiquu/logger)

Simple console logger based on [Winston](https://github.com/winstonjs/winston).

It's really just a preconfigured instance of a Winston Logger.

## Instalation

```sh
npm i @fiquu/logger
```

## Usage

Let's assume you run you app with:

`$ LOG_LEVEL=info node index.js`

Then, the logger will log anything that has lower priority than the `LOG_LEVEL` env variable:

`./some/module.ts`:

```ts
import { createLogger } from '@fiquu/logger';

const log: FixedLogger = createLogger('My App Module');

log.debug('This is not necessary on production.'); // Will not log
log.info('This is very informational.');
log.warn('Beware! You\'re about to do a thing.');
log.error('IT FAILED!');
log.error('IT FAILED! SEE DETAILS:', {
  extra: 'Yeah, it was bad...',
  error
});
```

Read more about [Winston's log levels](https://github.com/winstonjs/winston#using-logging-levels) to know what will be logged depending on your `LOG_LEVEL` env variable.

## API Docs

Please visit [the documentation page](https://fiquu.github.io/logger/) for more information.
npm package: @fiquu/pagination
Description: Simple pagination component.
Author: fiquu
Latest version: 1.0.5

# @fiquu/pagination

[![Build Status](https://travis-ci.org/fiquu/pagination.svg?branch=master)](https://travis-ci.org/fiquu/pagination)
![GitHub](https://img.shields.io/github/license/fiquu/pagination)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/pagination)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/pagination)
![npm](https://img.shields.io/npm/dw/@fiquu/pagination)

Simple, dependency-free pagination component.

## Installation

```sh
npm i @fiquu/pagination
```

## Usage

```ts
import { createPagination, PaginationComponent } from '@fiquu/pagination';

const pagination: PaginationComponent = createPagination({ limit: 50 });

const { limit, skip } = pagination.paginate(3); // limit = 50; skip = 100;

// Or in some query...
const query = await Posts.find()
  .skip(pagination.skip(req.query.page))
  .limit(pagination.limit);
```

## Documentation

Please see [the documentation page](https://fiquu.github.io/pagination/) for more details.
npm package: @fiquu/schema-loader-mongoose
Description: fiquu project template.
Author: fiquu
Latest version: 1.0.7

# @fiquu/schema-loader-mongoose

[![Build Status](https://travis-ci.org/fiquu/schema-loader-mongoose.svg?branch=master)](https://travis-ci.org/fiquu/schema-loader-mongoose)
![GitHub](https://img.shields.io/github/license/fiquu/schema-loader-mongoose)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/schema-loader-mongoose)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/schema-loader-mongoose)
![npm](https://img.shields.io/npm/dw/@fiquu/schema-loader-mongoose)

Schema loader for Mongoose connections.

## Installation

```sh
npm i @fiquu/schema-loader-mongoose
```

## Usage

Use it to load your schemas into any Mongoose connection.

`./configs/schemas.ts`:

```ts
import { SchemasMap, SchemaLoaderOptions } from '@fiquu/schema-loader-mongoose';

// You could move the schema map to another sub-module...
import profile from '../schemas/profile';
import user from '../schemas/user';

const schemas: SchemasMap = new Map();

schemas.set('profile', profile);
schemas.set('user', user);

const options: SchemaLoaderOptions = {
  replace: false,
  clone: true
};

export default {
  schemas,
  options
}
```

`./components/schemas.ts`:

```ts
import { createSchemaLoader, SchemaLoader } from '@fiquu/schema-loader-mongoose';
import { Connection } from 'mongoose';

import { options, schemas } from '../configs/schemas';
import db from '../components/database';

const conn: Connection = db.connection('default');
const loader: SchemaLoader = createSchemaLoader(conn, options);

loader.loadAll(schemas);

export default loader;
```

## Documentation

Please visit [the documentation page](https://fiquu.github.io/schema-loader-mongoose/) for more info and options.
npm package: @fiquu/shorten
Description: Shortens a string (truncate) optionally keeping whole words.
Author: fiquu
Latest version: 1.0.7

# @fiquu/shorten

[![Build Status](https://travis-ci.org/fiquu/shorten.svg?branch=master)](https://travis-ci.org/fiquu/shorten)
![GitHub](https://img.shields.io/github/license/fiquu/shorten)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/shorten)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/shorten)
![npm](https://img.shields.io/npm/dw/@fiquu/shorten)

Dependency-free and configurable tool to shorten (truncate) a string keeping whole words by default.

## Installation

```sh
npm i @fiquu/shorten
```

## Usage

```ts
import shorten from `@fiquu/shorten`;

const short = shorten('Some long string to shorten with many possible words to split into.');
// 'Some long string to shorten with many possible...'
```

## Documentation

See [the documentaion page](https://fiquu.github.io/shorten/) for more info and options.
npm package: @fiquu/slseed-web-utils
Description: fiquu Slseed web utils and tools.
Author: fiquu
Latest version: 3.0.1

# @fiquu/slseed-web-utils

[![Build Status](https://travis-ci.org/fiquu/slseed-web-utils.svg?branch=master)](https://travis-ci.org/fiquu/slseed-web-utils)
![GitHub](https://img.shields.io/github/license/fiquu/slseed-web-utils)
![GitHub last commit](https://img.shields.io/github/last-commit/fiquu/slseed-web-utils)
![npm (scoped)](https://img.shields.io/npm/v/@fiquu/slseed-web-utils)
![npm](https://img.shields.io/npm/dw/@fiquu/slseed-web-utils)

fiquu web utils.

Toolset for setup and deployment of fiquu Slseed apps.

## Installation

```sh
npm i -D @fiquu/slseed-web-utils
```

## Documentation

Please see https://fiquu.github.io/slseed-web-utils/ for more details.
npm package: @fir-ui/babel-preset-library
Description: Babel preset for fir-ui
Author: fjc0k
Latest version: 0.0.12

# Babel preset for `fir-ui`

## 📦 包含的预设/插件
- [@babel/preset-env](https://github.com/babel/babel/tree/master/packages/babel-preset-env)

- [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-object-rest-spread)
  - 如：`const x = { ...y, z }`

- [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-class-properties)
  - 如：`class Test { x = 1 }`

- [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-optional-chaining)
  - 如：`const n = x?.y.z?.a`

- [fast-async](https://github.com/MatAtBread/fast-async)
  - 如：`async function list(page) { return await fetch(page) }`

- [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash)
  - 如：`import { curry } from 'lodash'`


## 📥 安装
```shell
yarn add @fir-ui/babel-preset-library -D
```


## 🔧 使用
```json
{
  "presets": [
    [
      "@fir-ui/library",
      {
        "loose": true
      }
    ]
  ]
}
```
#### 配置
选项  |  类型  | 默认值 | 说明
:---: | :---: | :---: | :----
loose | Boolean | true | `true`：开启宽松模式，生成的代码更简单直接，也更快。<br /><br />`false`：生成的代码更符合最新的 ECMAScript 规范，但较笨重。
polyfill | Boolean | false | `true`：为出现在代码中的，但是在目标环境（浏览器、 Node 等）不支持的语法或对象自动引入垫片。<br /><br />`false`：不自动引入垫片。
lodash | Boolean | true | 设为 `true` 即可按需加载 lodash 啦，具体用法看这里：[babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash)
env | Object | ==> | 这是 [@babel/preset-env](https://github.com/babel/babel/tree/master/packages/babel-preset-env) 的默认配置，你可在 `env` 里覆盖它们：<br />{<!--DONT-REMOVE:eyBsb29zZTogJ+etieS6juS4iumdoueahCBsb29zZSDpgInpobknLCB1c2VCdWlsdEluczogJ+S4iumdoueahCBwb2x5ZmlsbCDkuLogdHJ1ZSDvvIzliJnkuLogdXNhZ2Ug77yM5ZCm5YiZ5Li6IGZhbHNlJywgZXhjbHVkZTogWyd0cmFuc2Zvcm0tcmVnZW5lcmF0b3InLCAndHJhbnNmb3JtLWFzeW5jLXRvLWdlbmVyYXRvciddIH0=--><br />&nbsp;&nbsp;&nbsp;&nbsp;"loose": "等于上面的 loose 选项",<br />&nbsp;&nbsp;&nbsp;&nbsp;"useBuiltIns": "上面的 polyfill 为 true ，则为 usage ，否则为 false",<br />&nbsp;&nbsp;&nbsp;&nbsp;"exclude": [<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"transform-regenerator",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"transform-async-to-generator"<br />&nbsp;&nbsp;&nbsp;&nbsp;]<br />}
npm package: @fir-ui/date-formatter
Description: Date formatter for fir-ui
Author: fjc0k
Latest version: 0.2.8

# fir-date-formatter

一个短小精悍的日期时间格式化工具。

## 📥 安装

### Node
```shell
yarn add @fir-ui/date-formatter
```

### CDN

```html
<script src="//unpkg.com/@fir-ui/date-formatter"></script>
```

CDN 引入时，可通过全局变量 `firDateFormatter` 使用。

## 🔧 使用

### 基本用法：传入 Date 实例

```javascript
var date = new Date()

console.log(
  firDateFormatter(
    date,
    'yy年mm月dd日 hh时ii分ss秒l毫秒'
  )
)
```

输出类似这样：

```shell
18年04月12日 06时13分53秒390毫秒
```

### 高级用法：自定义占位符及其对应的值

```javascript
console.log(
  firDateFormatter(
    {
      x: 1000,
      y: 2,
      z: 1002
    },
    'x + y = z (i > 0)'
  )
)
```

输出类似这样：

```shell
1000 + 2 = 1002 (i > 0)
```

## 🔡 日期时间占位符

占位符 | 说明                 | 例子
-------|----------------------|----------------------------------------------------------
y      | 年 (`y`ear)          | `y` --> `2018`<br />`yy` --> `18`<br />`yyyy` --> `2018`
m      | 月 (`m`onth)         | `m` --> `5`<br />`mm` --> `05`
d      | 日 (`d`ay)           | `d` --> `4`<br />`dd` --> `04`
h      | 时 (`h`our)          | `h` --> `8`<br />`hh` --> `08`
i      | 分 (m`i`nute)        | `i` --> `6`<br />`ii` --> `06`
s      | 秒 (`s`econd)        | `s` --> `1`<br />`ss` --> `01`
l      | 毫秒 (mi`l`lisecond) | `l` --> `750`
npm package: @firas-dahmani/common-auth
Description: Reusable JWT + roles guards and decorators for Rebody microservices
Latest version: 1.0.0

2.1 Install
yarn add @rebody/common-auth
# make sure these exist at the service root (same versions everywhere)
yarn add @nestjs/jwt jsonwebtoken

2.2 Add env vars (HS256 shared secret mode)

Use the same secret your auth-ms uses to sign access tokens:

JWT_ACCESS_SECRET=...
JWT_ISSUER=rebody-auth
JWT_AUDIENCE=rebody

2.3 Register module once (AppModule)
import { Module } from '@nestjs/common';
import { CommonAuthModule } from '@rebody/common-auth';

@Module({
  imports: [
    CommonAuthModule.register({
      jwt: {
        secret: process.env.JWT_ACCESS_SECRET!,
        issuer: process.env.JWT_ISSUER,
        audience: process.env.JWT_AUDIENCE,
        algorithms: ['HS256'],
      },
      globalGuard: true,
    }),
  ],
})
export class AppModule {}

2.4 Use in controllers
import { Controller, Get } from '@nestjs/common';
import { AuthNotRequired, CurrentAuth, Roles } from '@rebody/common-auth';

@Controller('products')
export class ProductsController {
  @Get('public')
  @AuthNotRequired()
  listPublic() {
    return { ok: true };
  }

  @Get('me')
  me(@CurrentAuth() auth: any) {
    return { sub: auth.sub, role: auth.role };
  }

  @Get('admin')
  @Roles('ADMIN')
  adminOnly() {
    return { ok: true };
  }
}


That’s it. No Prisma dependency. No duplicated Role enum. Role is just a string from JWT.
npm package: @firastar/firastar-js
Description: Write your best with Firastar in JS
Latest version: 0.1.2

<div align="center">
	<p align="center">
		<img src="./images/banner.png" />
	</p>
	<h1 align="center">Firastar</h1>
	<p align="center">Write your best in JS.</p>


![CI/CD](https://github.com/Firastar/firastar-js/workflows/Continuous%20Integration/badge.svg)
[![codecov](https://codecov.io/gh/Firastar/firastar-js/branch/master/graph/badge.svg)](https://codecov.io/gh/Firastar/firastar-js)
[![CodeFactor](https://www.codefactor.io/repository/github/Firastar/firastar-js/badge)](https://www.codefactor.io/repository/github/Firastar/firastar-js)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Firastar/firastar-js/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](https://github.com/Firastar/firastar-js/compare) 

</div>
<hr />

## Todo

- [ ] Write a document
- [ ] Increase the test coverage
- [ ] Write more tests
- [ ] Implement isPersian text detector func

## Contributing

Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.

## Give me a Star

If you think this project is helpful just give me a ⭐️ Star is enough because i don't drink coffee 😃

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/Firastar/firastar-js/blob/master/LICENSE) file for details.