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

arabic-to-myanmar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arabic-to-myanmar

A simple module to conver Arabic numerals to Myanmar numerals

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

arabic-to-myanmar Build Status

A simple module to conver Arabic numerals to Myanmar numerals

Usage

npm i arabic-to-myanmar --save to install.

var mn = require('./');
var test = require('tape');

test('myanmar numeral test', function (t) {
  t.plan(4);

  t.equal(mn('๐'), 0);
  t.equal(mn('၁'), 1);
  t.equal(mn('၂'), 2);
  t.equal(mn('၁၂၃၄၅၆၇၈၉၀'), 1234567890)

});

https://en.wikipedia.org/wiki/Burmese_numerals

var NUMBERS_MY = ['၀', '၁', '၂', '၃', '၄', '၅', '၆', '၇', '၈', '၉'];
var NUMBERS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];

License

MIT

Keywords

FAQs

Package last updated on 14 Jul 2015

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