weather-console-cli

1.0.1 • Public • Published

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

/weather-console-cli/

    Package Sidebar

    Install

    npm i weather-console-cli

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    121 kB

    Total Files

    10

    Last publish

    Collaborators

    • kusakinvova