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: 11 months ago
JSON representation
This library will help you to detect if the text is in right-to-left language or not
- Host: GitHub
- URL: https://github.com/codeeshop-oc/is-rtl-text
- Owner: codeeshop-oc
- License: mit
- Created: 2022-10-13T07:45:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T10:28:46.000Z (about 2 years ago)
- Last Synced: 2025-02-16T04:07:06.667Z (12 months ago)
- Topics: is-rtl, is-rtl-text, javascript, javascript-modules, javasript-library, rtl-detect-text, rtl-support
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/is-rtl-text
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
[](https://www.npmjs.com/package/is-rtl-text) [](https://npm-stat.com/charts.html?package=is-rtl-text)
[](https://github.com/codeeshop-oc/is-rtl-text/blob/main/LICENSE)
[](https://github.com/codeeshop-oc/is-rtl-text/issues?&q=is%3Aissue+is%3Aopen)

## 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).