@oliverhodge2/weather-wrapper

2.1.0 • Public • Published

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.'
// }
// --------------------------------------------------------------------------

Readme

Keywords

none

Package Sidebar

Install

npm i @oliverhodge2/weather-wrapper

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • oliverhodge2