moon-sighting/.github/wiki/api/functions/getSunMoonEvents.md
Aric Camarata 2992dcee21 docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config
targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to
package.json. Generate initial API reference pages.

Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
2026-05-30 16:41:59 -04:00

882 B

moon-sighting v1.1.1


moon-sighting / getSunMoonEvents

Function: 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.

Parameters

date

Date

Date to compute events for

observer

Observer

Observer location

options?

Pick<SightingOptions, "kernels">

Optional kernel configuration

Returns

Promise<SunMoonEvents>

SunMoonEvents with all times in UTC