An open API service indexing awesome lists of open source software.

https://github.com/jcmais/romanize-number

https://www.npmjs.com/package/romanize-number
https://github.com/jcmais/romanize-number

nodejs nodejs-modules roman-numerals

Last synced: 12 months ago
JSON representation

https://www.npmjs.com/package/romanize-number

Awesome Lists containing this project

README

          

# romanize-number

``npm install romanize-number``

## What is this module for?

It transforms any* decimal numbers, ``123456``, to their respective roman numeral representation, ``C̅X̅X̅MMMCDLVI``.

\* The max value is currently 3 999 999

## Usage
```javascript
import romanizeNumber from 'romanize-number'

console.log( romanizeNumber( 123456 ) )
```

### Why?

Why not? 🙃