UNPKG

arabic-formatter

Version:

format arabic text to fit letters to static shapes

8 lines (7 loc) 338 B
```javascript arabicFormatter.format("text",?leftToRight) => "formattedText" ``` Transforms arabic letters to a static shape according to their position in the text. - "text": The text to format. - ?leftToRight: <false> If set to true it will reverse the text and make it left to right. - "formattedText": The text after being formatted.