/convert-to-en-digits

convert Farsi/Persian digits to English digits npm package written in TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

convert-to-en-digits

convert farsi/persian digits to english digits

Installation

npm install convert-to-en-digits

or:

yarn add convert-to-en-digits

Example

import convertToEnDigits from "convert-to-en-digits";

const enDigits = convertToEnDigits("۰۱۲۳۴۵۶۷۸۹");

Bugs

please open an issue for any bug you found.

Contributing

contributions are welcomed 🙏🏻

License

MIT