Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codeeshop-oc/is-rtl-text

This library will help you to detect if the text is in right-to-left language or not
https://github.com/codeeshop-oc/is-rtl-text

is-rtl is-rtl-text javascript javascript-modules javasript-library rtl-detect-text rtl-support

Last synced: about 9 hours ago
JSON representation

This library will help you to detect if the text is in right-to-left language or not

Awesome Lists containing this project

README

        

# is-rtl-text
> This library will help you to detect if the text is in right-to-left language or not

[![Latest Stable Version](https://img.shields.io/npm/v/is-rtl-text.svg)](https://www.npmjs.com/package/is-rtl-text) [![Total Downloads](https://img.shields.io/npm/dt/is-rtl-text.svg)](https://npm-stat.com/charts.html?package=is-rtl-text)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/codeeshop-oc/is-rtl-text/blob/main/LICENSE)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg)](https://github.com/codeeshop-oc/is-rtl-text/issues?&q=is%3Aissue+is%3Aopen)
![Downloads Monthly](https://img.shields.io/npm/dm/is-rtl-text.svg)

## Usage

### require is-rtl-text lib
```js
const isRtlText = require('is-rtl-text')
```

```js
isRtlText('Text String')
// false
```

```js
isRtlText('test Urduہیلو')
// true
```

## 🔖 License

This software is licensed under the [MIT](https://github.com/codeeshop-oc/is-rtl-text/blob/main/LICENSE).