Skip to content
Farsi to Finglish, a Persian transliterator
Branch: master
Clone or download
Latest commit f06dfe5 Sep 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib code standard Feb 10, 2018
.editorconfig 📦 0.1.0 Jul 14, 2017
.gitignore 📦 0.1.0 Jul 14, 2017
CHANGELOG.md 📦 0.1.0 Jul 14, 2017
LICENSE 📦 0.1.0 Jul 14, 2017
README.md code standard Feb 10, 2018
package.json 🔧 Sep 20, 2018

README.md

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.

You can’t perform that action at this time.