thermo.js

1.1.0 • Public • Published

thermo.js Travis CI build information

🌡 Convert from/to Celsius, Fahrenheit and Kelvin degrees directly from your terminal

Preview

Installation

You can easily install it from npm

npm install -g thermo.js

Usage

Simply call thermo along with the value and the scale.

thermo <value> <scale>

Convert 10°C to Fahrenheit and Kelvin

thermo 10 -celsius
=> 10°C = 50.00°F = 283.15K

You can use aliases for scales.

thermo 85 -f
=> 85°F = 29.44°C = 302.59K

Running tests

thermo.js uses Mocha as unit testing framework. Just run

npm test

to begin the tests.

Readme

Keywords

Package Sidebar

Install

npm i thermo.js

Weekly Downloads

7

Version

1.1.0

License

MIT

Last publish

Collaborators

  • vnbrs