Skip to content

Convert Arabic-Indic numerals to their Roman equivalents.

License

Notifications You must be signed in to change notification settings

goblindegook/romanify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

romanify Build Status

Convert Arabic-Indic numerals to their Roman equivalents.

Install

$ npm install --save romanify

Usage

ECMAScript 5:

var romanify = require('romanify').default

romanify(2016) // => 'MMXVI'
romanify(0)    // => Error

ECMAScript 2015+:

import romanify from 'romanify'

romanify(2016) // => 'MMXVI'
romanify(0)    // => Error

License

MIT © Luís Rodrigues

About

Convert Arabic-Indic numerals to their Roman equivalents.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published