weather-cheker-by-dj

2.0.1 • Public • Published

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

  1. Clone the repository to your local machine.
  2. 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"

Readme

Keywords

none

Package Sidebar

Install

npm i weather-cheker-by-dj

Weekly Downloads

1

Version

2.0.1

License

ISC

Unpacked Size

2.24 kB

Total Files

5

Last publish

Collaborators

  • kudj