2.1.0 • Published 2 years ago

@oliverhodge2/weather-wrapper v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Weather Wrapper

Installation

npm install @oliverhodge2/weather-wrapper

Usage

import weatherWrapper from '@oliverhodge2/weather-wrapper'

weatherWrapper.getWeather(29.90, -81.31).then(console.log).catch(console.log)

// --------------------------------------------------------------------------
// {
//     city: 'St. Augustine',
//     forecast: 'A chance of rain showers. Cloudy, with a low around 55. North wind 16 to 20 mph, with gusts as high as 30 mph. Chance of precipitation is 40%. New rainfall amounts less than a tenth of an inch possible.'
// }
// --------------------------------------------------------------------------