1.0.2 • Published 3 years ago

romannumbersjs v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago