Farsi to Finglish, a Persian transliterator
A javascript port of aminmarashi/onezero-f2f by Amin Marashi
npm install f2f
var f2f = require('f2f');
var F2F = new f2f();
F2F.simplef2f('ثقلین'); // Outputs: "saghlin"
F2F.simplef2f('قسطنطنیه'); // Outputs: "ghastntnih"
<script src="lib/f2f.js"></script>
<script>
var F2F = new f2f();
alert(F2F.simplef2f("قسطنطنیه"));
</script>
Type: string
String in Persian to be converted.
This software is licensed under the MIT License. View the license.