Skip to content

Convert Roman numerals to their Arabic-Indic equivalents.

License

Notifications You must be signed in to change notification settings

goblindegook/arabify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arabify Build Status

Convert Roman numerals to their Arabic-Indic equivalents.

Install

$ npm install --save arabify

Usage

ECMAScript 5:

var arabify = require('arabify').default

arabify('MMXVI') // => 2016
arabify('XXXXX') // => Error

ECMAScript 2015+:

import arabify from 'arabify'

arabify('MMXVI') // => 2016
arabify('XXXXX') // => Error

License

MIT © Luís Rodrigues

About

Convert Roman numerals to their Arabic-Indic equivalents.

Topics

Resources

License

Stars

Watchers

Forks

Packages