moon-sighting/.github/wiki/api/functions/downloadKernels.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

847 B

moon-sighting v1.1.1


moon-sighting / downloadKernels

Function: downloadKernels()

downloadKernels(config?): Promise<{ leapSecondsPath: string; planetaryPath: string; }>

Defined in: api/index.ts:159

Download the DE442S planetary kernel and naif0012.tls leap-second kernel to the local cache directory. Verifies the download by SHA-256 checksum when a checksum is supplied via config.checksumOverride.

Parameters

config?

KernelConfig

Optional kernel config (to customize cache directory or checksum)

Returns

Promise<{ leapSecondsPath: string; planetaryPath: string; }>

Paths where kernels were saved