convert farsi/persian digits to english digits
npm install convert-to-en-digits
or:
yarn add convert-to-en-digits
import convertToEnDigits from "convert-to-en-digits";
const enDigits = convertToEnDigits("۰۱۲۳۴۵۶۷۸۹");
please open an issue for any bug you found.
contributions are welcomed 🙏🏻