Socket
Socket
Sign inDemoInstall

weather-api-promise

Package Overview
Dependencies
4
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    weather-api-promise

## Usage ``` const { weather } = require('weather-api-promise');


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

weather-api-promise

Usage

const { weather } = require('weather-api-promise');

//find locale 
weather.locale('feira de santana'); //will return an object with location information or locations if there is more than one with name.

//find weather forecast 
weather.forecast(1976) // returns an array of object with the weather forecast for the next 7 days.

//find Current weather conditions in capital cities.
weather.capitals(); //returns an array of object with conditions in capitals.

Keywords

FAQs

Last updated on 12 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc