2.0.1 • Published 2 years ago

cnv v2.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

cnv

CLI tool to convert units in the command line. This module uses the convert-units module under the hood.

Motivation

I built this for myself, because I usually google to convert units. This allows me to do any conversions quickly (and offline) right in my terminal.

I also wanted to build something using Typescript and test it using ava.

Installation

Install cnv globally

npm i -g cnv

To install it locally, use npm i cnv instead.

Usage

cnv 50km m

Some more examples:

cnv 1m cm
cnv 1lb kg
cnv 100oz ml

Test

cnv is tested using ava.

To run tests:

  1. Setup the repository locally using:
git clone git@github.com:nkhil/cnv.git
cd cnv
npm install 
  1. Run tests:
npm t
2.0.1

2 years ago

2.0.0

2 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago