New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-gismeteo-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gismeteo-parser

Simple node.js library for gismeteo weather

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

node-gismeteo-parser

Simple node.js library for gismeteo weather

Installation

npm i node-gismeteo-parser

Usage

const GismeteoParser = require('node-gismeteo-parser');
const gismeteo = new GismeteoParser();

gismeteo.getWeather('/weather-ufa-4588/').then(r => {
  // returns an object with information about the weather
});
PropertyDescription
tempTemperature (°C)
feels_likePerceived temperature (°C)
sunriseSunrise time
sunsetSunset time
conditionWeather condition
wind.speedWind speed (m/s)
wind.directionWind direction
pressurePressure (mm Hg)
humidityHumidity
gm_activityGeomagnetic activity (points)
temp_waterWater temperature (°C)
gismeteo.searchCity('Ufa').then(r => {
  // returns an object with information about the city
  let url = r.items[0].url; 
  gismeteo.getWeather(url).then(r => {
    // returns an object with information about the weather
  });
});

Keywords

FAQs

Package last updated on 02 Nov 2020

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