rtl-checker
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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()

Example

Readme

Keywords

Package Sidebar

Install

npm i rtl-checker

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

5.48 kB

Total Files

8

Last publish

Collaborators

  • long123