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

weather-time

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weather-time

Un paquete para obtener datos meteorológicos actuales y pronósticos de cualquier ciudad del mundo.

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Weather Time

Weather Time es un paquete para Node.js que te permite obtener datos meteorológicos actuales y pronósticos de cualquier ciudad del mundo.

Instalación

Para instalar Weather Time, simplemente ejecuta:

npm install weather-time

Uso

Aquí hay un ejemplo de cómo puedes usar Weather Time en tu código:

const { getWeather } = require('weather-time');

async function main() {
  try {
    const location = 'Paris'; // Puedes cambiar la ubicación aquí
    const weatherData = await getWeather(location);
    console.log('Datos meteorológicos para', location, ':', weatherData);
  } catch (error) {
    console.error('Error:', error);
  }
}

main();

Documentación

La función getWeather(location) acepta una ubicación (nombre de la ciudad, coordenadas geográficas, código postal, etc.) como argumento y devuelve un objeto con los datos meteorológicos actuales para esa ubicación.

Contribuir

¡Siéntete libre de contribuir al desarrollo de Weather Time! Si encuentras algún problema o tienes alguna idea para mejorar el paquete, abre un issue o envía una solicitud de extracción (pull request) en GitHub.

Autores

Weather Time es mantenido por JollyJolli.

Licencia

Este proyecto está licenciado bajo la Licencia ISC. Consulta el archivo LICENSE para más detalles.

Keywords

FAQs

Package last updated on 01 May 2024

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