console-weather

0.4.4 • Public • Published

console-weather

A console client for getting the current weather forecast.

In order to use console-weather, you need to get a Weather Underground API key from http://api.wunderground.com/weather/api/ and set your WEATHER_API environment variable to it.

Installation

npm install -g console-weather

Usage

weather [OPTION]...
Print the current weather conditions and forecast.

Options:
    -c       Output temperature in celsius.
    -f       Print 4-day forecast.
    --color  Colorize the output.

Output

--------------------------------------------------------------------------------

                    Central Square, Cambridge, Massachusetts

                       Scattered Clouds :: 60.9 F (16.1 C)

                   Thu          Fri          Sat          Sun
                 65 / 50      66 / 64      68 / 48      61 / 48

--------------------------------------------------------------------------------
Last Updated on October 18, 5:00 PM EDT                      Weather Underground

License

console-weather is available under a BSD 2-clause license. See LICENSE for details.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i console-weather

    Weekly Downloads

    1

    Version

    0.4.4

    License

    none

    Last publish

    Collaborators

    • justjohn