1.0.1 • Published 2 years ago

weather-console-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Weather-CLI

Install of global variable

npm i -g weather-console-cli

Result

weather
WEATHER WEATHER in city London
☁️ scattered clouds
Temperature: 9.26 (like as 6.42)
Humidity: 83%
Wind speed: 5.66

Alt text

Help

weather -h
HELP
Without params - show weather
-s [CITY] - save your city and show weather
-h - show Help
-t [API_KEY] - save token

Alt text

Work with

  • Getting arguments
  • Working with the file system
  • Preparing the project as a CLI (Command Line Interface)
  • Working with a third-party API
  • Styling console output
  • Passing environment variables
  • Using the OS library
1.0.1

2 years ago

1.0.0

2 years ago