Socket
Socket
Sign inDemoInstall

weather-api-data

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weather-api-data

NPM package that gets information about weather


Version published
Maintainers
1
Created
Source

weather-api-data

weather-api-data
  • NPM package that gets information about weather

Installation from NPM

npm install weather-api-data
  • loction(country_name) - Get a weather in country

Examples

(Using await)

const weather = require('weather-api-data');

async function getWeather() {
    const data = await weather.loction('manama');
    console.log(data);
}

getWeather();

(Using .then function)

const weather = require('./index.js')

weather.loction('manama').then(weather => console.log(weather));

Keywords

FAQs

Package last updated on 26 Jun 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc