rtl-checker
v1.0.2
Published
Check if languages uses right to left text writing.
Downloads
6
Readme
What is rlt-checker ?
To check if the language uses right to left text writing system.
Installation
npm i rlt-checker
or
yarn add rlt-checker
Then...
import { isRTL } from 'rlt-checker';
console.log(isRTL('ar')); //true
Options
rlt-checker contains 4 functions:
isRTL(langCode:string)
- langCode is required.listRTLLangCodes()
listRTLLanguages()
listRTLLangCodesAndCountries()