moon-cycle/.github/wiki/api/variables/MONTH_IMAGES.md
Aric Camarata 208f7ffba1 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:42:00 -04:00

641 B

moon-cycle v2.0.0


moon-cycle / MONTH_IMAGES

Variable: MONTH_IMAGES

const MONTH_IMAGES: 708 = 708

Defined in: types.ts:64

Number of images in the monthly (mm) dataset.

Equals the number of hours in one synodic month, rounded to the nearest integer. Filenames range from "001.webp" to "708.webp".

Example

import { MONTH_IMAGES } from 'moon-cycle';
// Fraction of the way through the synodic cycle
const index = Math.floor(fraction * MONTH_IMAGES) + 1;