@numerals/eastern-arabic is a package for converting number into eastern arabic numeral.
123 -> ١٢٣
npm:
npm i @numerals/eastern-arabic
yarn:
yarn add @numerals/eastern-arabic
Type Script:
import { convert } from '@numerals/eastern-arabic';
console.log(convert(123)); // ١٢٣
console.log(convert(123.45)); // ١٢٣٫٤٥