Wondering what’s next for npm?Check out our public roadmap! »

    dec-to-rom

    1.0.0 • Public • Published

    dec-to-rom Build Status

    Converts decimal to Roman numerals between 1 - 100000

    Install

    $ npm install dec-to-rom
    

    Usage

    const decToRom = require('dec-to-rom');
     
    decToRom(123);
    // returns 'CXXIII'
    decToRom(567);
    // returns 'DLXVII'
    decToRom(3099);
    // returns 'MMMXCIX'
    decToRom(1219);
    // returns 'MCCXIX'
    decToRom(40215);
    // returns 'MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMCCXV'

    License

    MIT © Damian Polak

    Install

    npm i dec-to-rom

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.28 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar