fenglish
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Fenglish

Version Downloads Tests License

Includes utilities which play with persian texts for Fenglish purposes.

Install

npm i fenglish

Usages

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!`

Package Sidebar

Install

npm i fenglish

Weekly Downloads

4

Version

0.2.2

License

MIT

Unpacked Size

16.3 kB

Total Files

14

Last publish

Collaborators

  • kadsin