eurodigit

3.1.3 • Public • Published

EuroDigit

Convert Hindu-Arabic numerals of different scripts into Western Arabic (European) digits.

Supported scripts

Devanagari

Commonly used with:

  • Hindi
  • Konkani
  • Marathi
  • Nepali
  • Sanskrit

Installation

npm install eurodigit

Usage

Converting to WA numerals

const eurodigit = require('eurodigit/src/to_euro');
const one_hundred = eurodigit('१००');

Converting from WA numerals

const toDevanagari = require('eurodigit/src/to_devanagari');
const one_hundred_in_devanagari = toDevanagari(100);

/eurodigit/

    Package Sidebar

    Install

    npm i eurodigit

    Weekly Downloads

    599

    Version

    3.1.3

    License

    ISC

    Unpacked Size

    8.62 kB

    Total Files

    13

    Last publish

    Collaborators

    • derickl
    • inromualdo
    • ernestoteo
    • medic-ci
    • craig_modules
    • njuguna-medic
    • garethbowen
    • hgalemayehu
    • abbyad
    • twd
    • kennsippell
    • alxndrsn