JSPM

nomar

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 60
  • Score
    100M100P100Q70090F
  • License ISC

Convert to/from Roman numerals with ease.

Package Exports

  • nomar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nomar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Roman Numerals v1.0.0 Build Status

Convert to/from Roman numerals with ease.

var nomar = require('nomar');

nomar('LXXXIX');  // 89
nomar('lxxxix');  // 89
nomar(89);        // LXXXIX
nomar(0);         // ''

// invalid values
nomar();          // undefined
nomar(null);      // undefined
nomar(-1);        // undefined
nomar(4000);      // undefined

Installation

npm install nomar