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