JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q37174F
  • License MIT

Convert Celsius, Fahrenheit and Kelvin degrees.

Package Exports

  • thermo.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (thermo.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

thermo.js

Convert from/to Celsius, Fahrenheit and Kelvin degrees.

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