weather-underground-by-zip

1.6.6 • Public • Published

weather-underground-by-zip

Build Status Coverage Status npm

Retrieve weather data for a specific zipcode. No API keys required! The name is a misnomer because the app no longer uses Weather Underground.

Installation

npm install weather-underground-by-zip

Usage

RunKit Example

const weather = require('weather-underground-by-zip')();
const zipcode = 90210;
 
await require("util").promisify(weather.request)(zipcode);
//{description: "Partly cloudy", location: "Beverly Hills, CA", temperature: 68, temperatureUnit: "F"}

Running the tests

npm test

License

MIT

Package Sidebar

Install

npm i weather-underground-by-zip

Weekly Downloads

11

Version

1.6.6

License

MIT

Unpacked Size

7.75 kB

Total Files

6

Last publish

Collaborators

  • beasta