-
Notifications
You must be signed in to change notification settings - Fork 1
getSunMoonEvents
github-actions[bot] edited this page May 30, 2026
·
1 revision
moon-sighting / getSunMoonEvents
getSunMoonEvents(
date,observer,options?):Promise<SunMoonEvents>
Defined in: api/index.ts:833
Get rise, set, and twilight times for the Sun and Moon on a given date.
Requires initKernels() for accurate results.
Date
Date to compute events for
Observer location
Pick<SightingOptions, "kernels">
Optional kernel configuration
Promise<SunMoonEvents>
SunMoonEvents with all times in UTC
moon-sighting · MIT License · npm · Issues
Guides
Examples
API Reference
- getMoonSightingReport
- getMoonPhase
- getMoonPosition
- getMoonIllumination
- getMoonVisibilityEstimate
- getMoon
- getSunMoonEvents
- initKernels
- downloadKernels
- verifyKernels
Domain Reference
Package Reference
Community