Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eurodigit

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eurodigit

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

  • 3.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.9K
decreased by-24.13%
Maintainers
1
Weekly downloads
 
Created
Source

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);

FAQs

Package last updated on 02 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc