This is an npm package used to generate phonetic transliteration of Arabic text.
var arabscript = require('arabscript');
console.log(arabscript('بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ'))
should produce the output
bismi al-lahi ar-raḥmāni ar-raḥīmi