1.0.1 • Published 1 year ago

split-arabic-text v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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

  1. Correctly splits Arabic text considering positional forms.
  2. Handles diacritical marks

License

This project is licensed under the MIT License.

1.0.1

1 year ago

1.0.0

1 year ago