romanify
v1.0.0
Published
Convert Arabic numerals to their Roman equivalents.
Downloads
65
Readme
romanify
Convert Arabic-Indic numerals to their Roman equivalents.
Install
$ npm install --save romanify
Usage
ECMAScript 5:
var romanify = require('romanify')
romanify(2016) // => 'MMXVI'
romanify(0) // => Error
ECMAScript 2015+:
import romanify from 'romanify'
romanify(2016) // => 'MMXVI'
romanify(0) // => Error
License
MIT © Luís Rodrigues