@numerals/eastern-arabic
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@numerals/eastern-arabic

Version License: GPLv3 Coverage Github workflow

@numerals/eastern-arabic is a package for converting number into eastern arabic numeral.

123 -> ١٢٣

How to use

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)); // ١٢٣٫٤٥

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @numerals/eastern-arabic

      Weekly Downloads

      0

      Version

      0.0.2

      License

      ISC

      Unpacked Size

      5.19 kB

      Total Files

      8

      Last publish

      Collaborators

      • amerharb