1.0.0 • Published 4 years ago
@javascript-packages/roman-numerals v1.0.0
Roman Numerals
Easily convert integers to roman numerals in one line of code.
Installation
Please execute the following command.
npm i @javascript-packages/roman-numeralsGetting 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); // MMXXIIFound 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.