A simple Node.js script that displays weather on terminal.
Make sure you've Node.js >= 6.3.1 and npm installed on your system.
Then type:
npm install howsweather -gHere you are! You're ready to use howsweather.
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.
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:
Cfor Celsius scaleFfor Fahrenheit scaleKfor Kelvin scale
If you want to see weather for a specific city:
howsweather "New York"Or for the default one:
howsweatherhowsweather is released under terms of GNU/GPL 3.0 license.
