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
- Host: GitHub
- URL: https://github.com/jcmais/romanize-number
- Owner: JCMais
- License: wtfpl
- Created: 2017-03-06T22:38:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T23:16:15.000Z (about 9 years ago)
- Last Synced: 2025-03-28T21:37:58.596Z (about 1 year ago)
- Topics: nodejs, nodejs-modules, roman-numerals
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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? 🙃