fahrkelvin
v1.0.0
Published
Temperature scale converter for Kelvin, Celsius, and Fahrenheit that you can bundle and import into your projects
Downloads
10
Maintainers
Readme
FAHRKELVIN
Temperature scale converter for Kelvin, Celsius, and Fahrenheit that you can bundle and import into your projects.
It currently supports: Celsius, Kelvin, and Fahrenheit
How to use:
- Import the
convert()
function from this module. - Pass an object as its argument with the scale from which you want to convert, to which, and the value in a numeric format:
interface ITemperature {
value: TTemperature;
from: TScales;
to: TScales;
}
If you have any doubts or bug reports to do, contact me at: [email protected] Or visit its official repository at: https://github.com/Redwars22/fahrkelvin.