Skip to content

brothersincode/f2f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F2F

Farsi to Finglish, a Persian transliterator

A javascript port of aminmarashi/onezero-f2f by Amin Marashi

Build Status Dependency Status NPM version GitHub issues GitHub license js-semistandard-style

Install

npm install f2f

Usage

var f2f = require('f2f');
var F2F = new f2f();

F2F.simplef2f('ثقلین'); // Outputs: "saghlin"
F2F.simplef2f('قسطنطنیه'); // Outputs: "ghastntnih"

Browser

<script src="lib/f2f.js"></script>
<script>
  var F2F = new f2f();
  alert(F2F.simplef2f("قسطنطنیه"));
</script>

F2F.simplef2f([text])

text

Type: string

String in Persian to be converted.

License

This software is licensed under the MIT License. View the license.

Releases

No releases published

Packages

No packages published