Socket
Socket
Sign inDemoInstall

romanumber

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    romanumber

Convert from Roman Numerals to Numbers and vice-versa.


Version published
Weekly downloads
8
increased by700%
Maintainers
1
Install size
8.36 kB
Created
Weekly downloads
 

Changelog

Source

[1.1.1] - 2023-07-04

Security

  • Update dependencies to fix semver vulnerable to Regular Expression Denial of Service.
  • Update dependencies to fix word-wrap vulnerable to Regular Expression Denial of Service.

Readme

Source

Tests

Convert from Roman Numerals to Numbers and vice-versa.

Usage

Convert from a Roman Numeral to a Number:

romanNumeralToNumber('VII')

Convert from a Number to a Roman Numeral:

numberToRomanNumeral(7)

Known limitations

  • Only numbers between 1 and 3999 are supported.

Keywords

FAQs

Last updated on 04 Jul 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc