A no-dependency library for converting from decimal notation to roman 🏛 numerals and back again.
Install
With npm, pnpm, or yarn installed, run:
$ yarn add romans
Usage
const romans = require('romans');
romans.romanize(454)
romans.deromanize('CDLIV')
romans.allNumerals
romans.allChars
Testing
Test coverage is reported via codecov, and run on every release
$ yarn test
License
MIT
Contributions
If you'd like to contribute to this library, please send a PR or file a new issue. I aim to get PRs accepted in short order should they align with the goals. Also, be nice.