Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

heat-index

iwanaga999MIT0.0.3

module for heat index calculation

heat index, temperature, humidity, celsius, fahrenheit

readme

heat-index

a utility module for the heat index calculation by temerature and relative humidity.

usage

var HI = require('heat-index');

// in Celsius
HI.heatIndex({temperature: 32, humidity: 65});

// in Fahrenheit
HI.heatIndex({temperature: 87, humidity: 65, fahrenheit: true});

// utilities
HI.toCelsius(30);
HI.toFahrenheit(86);

install

npm install heat-index

special thanks

NOAA's National Weather Service