Reference · The <wakusei-space> element: the Earth, Moon, Sun and planets in their places
SPACE_BODIESconstant
The eleven bodies the space view places, names and lets a reader choose: the Earth, the Sun, the Moon, the seven other planets and Pluto.
Import it
import { SPACE_BODIES } from "@johnmorrisdotca/wakusei-planets/space/element";
Definition
const SPACE_BODIES: readonly ["earth", "sun", "moon", "mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] = ["earth", "sun", "moon", ...SPACE_PLANETS] as const
Examples
import { SPACE_BODIES } from "@johnmorrisdotca/wakusei-planets/space/element";
console.log(SPACE_BODIES.join(", "));