howsweather
v0.1.2howsweather
A simple Node.js script that displays weather on terminal.
Installation
Make sure you've Node.js >= 6.3.1
and npm
installed on your system.
Then type:
npm install howsweather -g
Here you are! You're ready to use howsweather.
Getting Started
Configure the necessary
In order to work, howsweather reads configuration options from a
JSON file .howsweather
in your $HOME
directory.
So open your favourite text editor and type:
{
"city": "YOURCITY",
"api_key": "YOURAPIKEY"
}
If you don't specify a city, it'll find your location automatically.
You can get an API key at OpenWeatherMap.
Scales
howsweather allows you to show temperatures in the three main scales. By default, it uses your position in order to understand what scale use.
You can change this behavior specifying a scale
option in your
configuration file, there are three possible values:
C
for Celsius scaleF
for Fahrenheit scaleK
for Kelvin scale
See weather stats
If you want to see weather for a specific city:
howsweather "New York"
Or for the default one:
howsweather
License
howsweather is released under terms of GNU/GPL 3.0 license.
Metadata
- GPL-3.0
- Whatever
- Dom Corvasce
- released 1/13/2017