replace-persian-number
v1.0.3
Published
Automatic conversion of Farsi numbers to English and vice versa
Downloads
37
Maintainers
Readme
replace-persian-number
Automatic conversion of Farsi numbers to English and vice versa
Getting Started
When you enter Farsi, it says to enter English. When you enter English, it says to enter Farsi. If you don't want your site to look like this, use this library
Installation
$ npm i replace-persian-number
How to use
persianToEnglish("۱۲۳MrMeshky۱۲۳") ==> "123MrMeshky123"
englishToPersian("123MrMeshky123") ==> "۱۲۳MrMeshky۱۲۳"
Authors
- MrMeshky - Initial work - MrMeshky