numerare
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Numerare

A light TS library for converting to and from Arabic and Roman numerals. Supports numeric values between 1 and 3999.

Install

Using npm, run:

$ npm install numerare

Use

import { toRoman, toArabic } from 'numerare';
// ...

const romanNumerals: string = toRoman(1990);
// MCMXC

const arabicNumerals: number = toArabic(MCMXC);
// 1990

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i numerare

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • resch17