Skip to content

Converts numbers from decimal to roman and vice versa

License

Notifications You must be signed in to change notification settings

diegocasillas/romanjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RomanJS

npm npm bundle size (minified) JavaScript Style Guide NpmLicense

Converts numbers from decimal to roman and vice versa

Installation

$ npm install romanjs

Usage

const romanjs = require('romanjs');

const romanNumber = romanjs.roman(23);
const decimalNumber = romanjs.decimal('XXIII');

console.log(romanNumber); // XXIII
console.log(decimalNumber); // 23

License

RomanJS is under MIT License.

About

Converts numbers from decimal to roman and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published