Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@aryth/roman

gadge287MIT0.7.8

Parse roman numerals to decimal numbers

math, roman numerals, roman numbers

readme

@aryth/roman

npm version npm download monthly npm download total npm dependents npm license pp install size github commit last github commit total

Parse roman numerals to decimal number

Features

Install

$ npm install @aryth/roman

Usage

import { romanToDecimal } from '@aryth/roman'
const ROMAN = 'CDXXXIII'
console.log(romanToDecimal(ROMAN)) // 433 

Meta

LICENSE (MIT)