weather-units-conversion
v1.0.2
Published
A simple utility package to convert weather data across various measure units
Downloads
7
Maintainers
Readme
A simple utility package to convert weather data across various measure units
🏠 Homepage
Install
npm i weather-units-conversion
Usage
import { c2f, km2miles } from "weather-units-conversion";
// Conversion from Celsius to Fahrenheit
let fahrenheit = c2f(23.6);
// Conversion from KM to Miles, with 5 decimal positions
let miles = km2miles(11.67, 5);
// Every conversion function is in the format
// <fromUnit>2<toUnit>(val, precision?);
Supported Units
Temperature
Pressure
Lenght/Distance
Speed
Author
👤 Riccardo Rebottini
- Twitter: @ricky_rebo
- Github: @ricky-rebo
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator