1.0.6 • Published 6 years ago

darkskycli v1.0.6

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

Welcome to Dark Sky CLI!

Check the weather for anytime, anywhere right from your terminal.

First add the package,

npm -i darkskycli

Secondly find where the package is installed, on a mac with node installed via Homebrew this will be /usr/local/lib/node_modules. Rename .env.example to .env, adding the api keys for Google (geolocation) and Dark Sky (weather api). Save the file and you're good to go.

Run from the command line parsing options,

weather in Paris today

weather -p paris

weather in Paris at Christmas

weather -p paris -d 25dec2018

weather in Barcelona for New Years in Catalan ?

weather -p Barcelona -d 01jan2019 -l ca

need help ?

weather -h

Units are automatically set based on geographic location, set to us for imperial, si for metric or uk2 if you like your temperature in celcius but your distance in miles.

Language defaults to English and accepts most ISO 639-1 two letter language codes.

For full details visit the Dark Sky API docs.

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago