New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

roman-number

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roman-number

parse and stringify roman numbers

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
9
-10%
Maintainers
1
Weekly downloads
 
Created
Source

Roman numbers parser

npm version build status coverage status

const RomanNumber = require('roman-number'); // npm i -S caub/roman-number

const num1 = RomanNumber('XX');
const num2 = RomanNumber(40);

console.log(num1.toInt(), num2.toString()) // 20 'XL'

compatibility

  • node.js >= 6
  • browser (Chrome, Firefox, Edge, IE11, Safari, ..)

(requires String.prototype.repeat, that can be shimmed)

Keywords

roman

FAQs

Package last updated on 30 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts