/js-roman

Roman numbers for JavaScript

Primary LanguageTypeScriptMIT LicenseMIT

Roman numbers

Functions to work with roman numbers

Installation

npm install @stein197/roman

Usage

import roman from "@stein197/roman";

roman.parse("XIX"); // 19
roman.stringify(19); // "XIX"

NPM scripts

  • clean. Clean the working directory from compiled files
  • build. Compile TypeScript source code
  • test. Run unit tests