0.0.4 • Published 2 years ago

numerare v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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