console-weather

A console client for getting the current weather forecast.

npm install console-weather
59 downloads in the last month

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.

npm loves you