Reference · Facts, line drawings and positions
JOURNEY_STOPSconstant
Every body, in the same order as BODY_IDS: the Sun, the planets, the dwarf planets, then the moons.
Import it
import { JOURNEY_STOPS } from "@johnmorrisdotca/wakusei-planets";
Definition
const JOURNEY_STOPS: readonly JourneyStop[] = BODY_IDS.map(stopOf)
Examples
import { BODY_IDS, JOURNEY_STOPS } from "@johnmorrisdotca/wakusei-planets";
console.log(JOURNEY_STOPS.length === BODY_IDS.length, JOURNEY_STOPS[0]?.id);true sunWhat it prints (run when this page was built)