0.1.4 • Published 7 years ago

howsweather v0.1.4

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
7 years ago

howsweather

Build Status codecov

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

Screenshot

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 scale
  • F for Fahrenheit scale
  • K 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.

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago