Skip to content

A simple command line tool to display the sunrise, sunset and day length based on your location. 🧛

License

Notifications You must be signed in to change notification settings

mrgeorgegray/dawn-till-dusk

Repository files navigation

dawn-till-dusk 🧛

A simple tool to display the sunrise, sunset and day length based on your location from the comfort of the command line.

Maintainability Coverage Status Status npm NPM

Example output

example output

Installation

npm i -g dawn-till-dusk

Usage

Usage: dtd <command> [options]

Commands:
  index.js dtd  Display sunrise & sunset times

Options:
  --help, -h     Show help                            [boolean] [default: false]
  --version, -v  Show version number                                   [boolean]
  --clean, -c    Clear data cache                     [boolean] [default: false]
  --date, -d     Search by date                      [string] [default: "today"]
  --logging, -l  Output extra logging info            [boolean] [default: false]

Examples:
  dtd -d '2021-08-12'  display sunrise & sunset times for a given day

Credits

About

A simple command line tool to display the sunrise, sunset and day length based on your location. 🧛

Resources

License

Stars

Watchers

Forks

Packages