1.0.2 • Published 4 years ago

weather-units-conversion v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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

šŸ¤ 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