0.0.1 • Published 9 years ago

suncalc-cli v0.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

suncalc-cli

NPM version Build Status Dependency Status Coverage percentage

Command line tool based on Suncalc to be used from command line.

Installation

Install as a global CLI tool

$ npm install -g suncalc-cli

Usage

Get the azimuth of the sun on a given location

suncalc-cli azimuth [-l <latitude>,<longtitude>] [-d "<date>"] [-a]

Date option is optional, defaults to the current datetime. Use -a to get the altitude at the given moment.

License

Apache-2.0 © Tim Klingeleers