romannumbersjs

1.0.2 • Public • Published

This is a lightweight implementation to convert arabic numbers to romans and opposite

The library does not have any dependencies!

Install:

npm i romannumbers

Usage:

const romannumbers = require("romannumbers")
romannumbers.convertToRoman(999) // returns CMXCIX
romannumbers.convertToArabic(CMXCIX) // returns 999

MIT license

Dependents (0)

Package Sidebar

Install

npm i romannumbersjs

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.27 kB

Total Files

7

Last publish

Collaborators

  • exphoenee