A module provides various functions to process and analyze Arabic text and numbers.
Last updated 1 year ago
npm i arajs
or
npm install arajs
// commonjs: const { number2text, stripTashkeel } = require("arajs"); // ES6: import { number2text, stripTashkeel } from "arajs"; const number = 232; console.log(number2text(number)); // مئتان و إثنان و ثلاثون const text = 'مَرْحَبًا بِكُمْ'; const strippedText = stripTashkeel(text); console.log(strippedText); // مرحبا بكم