romanjs

2.0.1 • Public • Published

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.

Package Sidebar

Install

npm i romanjs

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

10.1 kB

Total Files

10

Last publish

Collaborators

  • diegocasillas