1.0.2 • Published 12 months ago

@exym/weather v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

Weather CLI

A simple command-line interface (CLI) to fetch and display weather information for a specified city using the OpenWeatherMap API.

Installation

Install the package globally via npm:

npm i -g @exym/weather

Features

  • Display the current weather forecast for a specified city.
  • Save your API key securely.
  • Save your preferred city for quick weather updates.

Prerequisites

To use this utility, you need to have:

  1. A free API key from OpenWeatherMap.

Commands

  • weather -h - Display the help message
  • weather -t <API_KEY> - Save the API key
  • weather -c <CITY_NAME> - Save the city name
  • weather - Display the weather forecast for the saved city.
1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago