Socket
Socket
Sign inDemoInstall

console-weather

Package Overview
Dependencies
11
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    console-weather

A console client for getting the current weather forecast.


Version published
Maintainers
1
Install size
854 kB
Created

Readme

Source

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.

FAQs

Last updated on 18 Feb 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc