Arabic Name/Letters Converter 👳♂️
How to install 🧐
npm i arabic-franco
How to use 👨💻
The package exports a simple function that you can pass a string of a name of more than one name in one line and it will return the name in EN
سارة => Sarah
Example Usage
import toEnName from 'arabic-franco';
console.log(toEnName('سارة'));
Explanation 🤓
There is no clear Romanization rule to change the Ar name to En one, so this package is me trying to find common cases to convert the names.
This package is still in the early stage, so please open issues, if there is anything. Also, you may enhance it by depending on DB and making the package script for not-found names.
Here is a sheet of names for you to check. it has +2500 random Arabic names.
Please open an issue and write the names that you are not happy about so I can fix it
Support
This package costs me time to make and maintain every time.
[I am very 😀 about every coffee!]