diegocasillas / romanjs

Converts numbers from decimal to roman and vice versa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 100.0%