Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 514 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 514 Bytes

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