Skip to content

javascript-packages/roman-numerals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roman Numerals

Build Coverage Status NPM Total Downloads

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.

About

Easily convert integers to roman numerals in one line of code.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •