1.0.14 • Published 1 year ago
@javascript-packages/roman-numerals v1.0.14
Roman Numerals
Easily convert integers to roman numerals in one line of code.
Installation
Please execute the following command.
npm i @javascript-packages/roman-numerals
Getting started
By using the following code snippet you can convert numbers in the interval [1, 4999]
to Roman numerals.
import { toRoman } from '@javascript-packages/roman-numerals';
const romanNumeral = toRoman(2022);
console.log(romanNumeral); // MMXXII
Found a bug? 💁♀️
Thanks for letting us know! Please file an issue and we should reply shortly.
License
This repository is licensed under the MIT license.
Copyright © Stefan Kühnel, All rights reserved.