Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liorer/roman-converter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liorer/roman-converter

Converts numbers to roman numerals

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Roman Converter

This package is a helper that converts numbers to roman numerals.

Installation

Since this package is not npm published, you would have to perform a few steps which would normally be taken care of if the package was published.

  1. Please run npm install inside this package.

  2. Installation of this as a dependency should be done using the path where this package is located. For example, let's say you have an application which will use the roman-converter dependency, the following directory structure:

    |- app
    |- roman-converter
    

    The way to install it from app directory would be:

    npm install ../roman-converter 
    

Tests

npm run test

Usage

CommonJS:

const toRoman = require('roman-converter').toRoman;
console.log(toRoman(123)); // CXXIII

ES6 Imports:

import { toRoman } from 'roman-converter';
console.log(toRoman(123)); // CXXIII

FAQs

Package last updated on 03 May 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc