Socket
Book a DemoInstallSign in
Socket

weather-cheker-by-dj

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

weather-cheker-by-dj

This is a simple Node.js application that uses the OpenWeatherMap API to display the current weather for a chosen city.

2.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Weather Application

This is a simple Node.js application that uses the OpenWeatherMap API to display the current weather for a chosen city.

Getting Started

To get started with this application, ensure you have Node.js and npm installed on your system.

Installation

  • Clone the repository to your local machine.
  • Navigate to the project directory and run npm install to install the dependencies.

Configuration

Obtain an API key from OpenWeatherMap and add it to a .env file in the root of the project: OPENWEATHER_API_KEY=your_api_key

Usage

To run the application, use the following command, replacing "City" with the name of the city you want to get the weather for:

node weather.js "City"

FAQs

Package last updated on 04 Mar 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.