weadsther-chew-ecker
v1.2.0
Published
is a Node.js command-line application that retrieves current weather information for a given city
Downloads
5
Readme
README for Weather Checker Project Project Name: wea0ther-che0cker-01
Description: The Weather Checker is a Node.js command-line application that retrieves current weather information for a given city. This app utilizes the OpenWeatherMap API to fetch weather details such as temperature, humidity, and weather conditions.
Installation:
Clone this repository to your local machine. Navigate to the project directory. Run npm install to install the necessary dependencies. Obtain an API key from OpenWeatherMap and set it as an environment variable named OPENWEATHER_API_KEY. Usage: To use the application, run:
php Copy code node index.js <city_name> Replace <city_name> with the name of the city you want to check. For example:
Copy code node index.js London This will display the current weather in London.
Dependencies:
axios for making HTTP requests. dotenv for managing environment variables. Contributing: Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
License: This project is licensed under the MIT License - see the LICENSE file for details.