@eshan1799/unitconverter

1.0.5 • Public • Published

CLI Unit Converter

Description

A CLI application that converts centimetres into metres and vice versa!

Installation

Global

  • npm install -g @eshan1799/unitconverter

Local

  • npm install @eshan1799/unitconverter
Prerequisites

Usage

  • String format: x unit1 in unit2

Global

  • converter "'enter string here'"
Example
  • converter "5 m in cm" --> output: "500 cm"

Local

  • Add script(s) in your package.json

  • "converter": "converter \"enter string here\""

  • npm run converter

Example
  • "converter": "converter \"5 m in cm\""

  • npm run converter

  • --> output: "500 cm"

Readme

Keywords

Package Sidebar

Install

npm i @eshan1799/unitconverter

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

5.23 kB

Total Files

6

Last publish

Collaborators

  • eshan1799