A simple client to get weather in your terminal. Working on a project but need to run across the street to Jimmy John's
to get your food? Instead of looking up the weather online, just run weather
from your terminal and get instant,
accurate location-based weather (current and 4-day forecast!).
$ npm install cli-weather -g
$ weather
$ weather -a "Atlanta, GA"
$ weather --address="Atlanta, GA"
$ weather --lat=34.1036 --long=-84.6374
Use the -c option flag to specify metric units (celsius for temp and meters per second for windspeed)
$ weather -c
If you always want to see weather for a particular area or with celsius instead of fahrenheit, pass --save
or -s
along with your preferred values, and the next time you run weather
without any arguments, it will get those values
and give you weather for them.
Fahrenheit
Celsius
Saving
Custom Location
coming soon...
The cli-weather api will allow you to require()
cli-weather in your apps/sites and get all the data and formatting that
powers this module.