Licence
MIT
Version
0.1.0
Deps
0
Size
7 kB
Vulns
0
Weekly
0
Fenglish
Includes utilities which play with persian texts for Fenglish purposes.
Install
npm i fenglishUsages
toFenglish
This function takes a Persian text and returns its Fenglish text.
Notes:
- Vowels are effective in the output of this function
- This function works correctly for "Alef", "Ayn", "Hamza", "Vaav" and "Ye" letters and not work correctly for other letters yet. (Work in progress...)
Example
import { toFenglish } from 'fenglish'
const persian = 'آرامَم مَن!'
console.log(toFenglish(persian)) // prints `aramam man!`