Transliterator between الْعَرَبِيَّة (Arabic) and Latin script based on IJMES Standard
The package transliteration texts from fully-vocalised
الْعَرَبِيَّة (Arabic) script to Latin script based on IJMES standard. Additionally the application transliterate texts from Latin script based on IJMES standard to non-vocalised
الْعَرَبِيَّة (Arabic) script. To experiment functionality of this package use the Arabic Transliterator App website on you browser.
Note : the non-vocalised
الْعَرَبِيَّة (Arabic) text to Latin IJMES translieration isn't completely supported.
npm install arabic-transliterate
const arabictransliterate = require("arabic-transliterate");
arabictransliterate(input, direction, language)
input
text in IJMES for Latin
text in الْعَرَبِيَّة
direction
'latin2arabic'
'arabic2latin'
language
'Arabic'
'Persian' (# to be completed)
'Ottoman Turkish' (# to be completed)
'Modern Turkish' (# to be completed)
console.log('Latin IJMES >> الْعَرَبِيَّة non-vocalised : ', arabictransliterate("Maṭlaʿ al-Saʿdīn","latin2arabic","Arabic"));
// Expected Latin IJMES >> الْعَرَبِيَّة non-vocalised : مطﻼع السعدين
console.log('fully-vocalised الْعَرَبِيَّة >> Latin IJMES : ', arabictransliterate("مُكَاتَبَات علاَّمي","arabic2latin","Arabic"));
// Expected fully-vocalised الْعَرَبِيَّة >> Latin IJMES : mukātabāt ʿallāmy
Given the above JavaScript code is included into a script.js file : node script.js
Distributed under the MIT License. See LICENSE for more information.