1.0.3
Version 1.0.3 2023-11-18 (04 Jumada al-awwal 1445)
New Feature:
- Convert To Old Arabic And Tashfeer Panned Words: Transform Arabic text into old script and replace Panned Arabic text with visually similar characters for encoding purposes. (Panned words are words that considered as hate speech in social media)
Installation
To install this library via NPM, use the following command:
npm install arabic-servicesFor browser usage, you can download .umd or .esm file, and you can find it attached to this release
Usage
Convert To Old Arabic And Tashfeer Panned Words
const { ArabicServices } = require('arabic-services');
console.log(ArabicServices.toOldArabicAndTashfeerPannedWords('جيش العدو يقتل الأطفال'));
// Output: 'چـێـݭ !ڵعـݚۉ ی۪ـڨـټل الاطڡال'Full Changelog: v1.0.2...v1.0.3