split-arabic-text
v1.0.1
Published
it allows you to split arabic text correctly.
Downloads
4
Maintainers
Readme
split-arabic-text
split-arabic-text is a library that allows you to correctly split Arabic text, handling various positional forms and diacritical marks with precision.
Installation
Install the package using npm:
npm install split-arabic-text
Import the splitText function and use it to split Arabic text:
const splitText = require('split-arabic-text');
console.log(splitText("مرحبا"), "rtl"); // "rtl" is the default value
Features
- Correctly splits Arabic text considering positional forms.
- Handles diacritical marks
License
This project is licensed under the MIT License.