Day Events
Event emitter for daily events like sunrise, sunset, dawn, dusk, etc.
Usage
DayEvents
is an EventEmitter
that will emit events as they happen during the day, in real time. The events come from the SunCalc library and documented constants are included with the plugin.
const DayEvents eventNames: SUNRISE SUNSET } = ; let latitude = 455231;let longitude = -1226765; let today = latitude longitude; today;today; let eventTimes = today;console;