Reference · Facts, line drawings and positions
MOONS_OFconstant
The moons the package draws, by planet or dwarf planet.
Import it
import { MOONS_OF } from "@johnmorrisdotca/wakusei-planets";
Definition
const MOONS_OF: { readonly earth: readonly ["moon"]; readonly mars: readonly ["phobos", "deimos"]; readonly jupiter: readonly ["io", "europa", "ganymede", "callisto"]; readonly saturn: readonly ["mimas", "enceladus", "tethys", "dione", "rhea", "titan", "iapetus"]; readonly uranus: readonly ["miranda", "ariel", "umbriel", "titania", "oberon"]; readonly neptune: readonly ["proteus", "triton", "nereid"]; readonly pluto: readonly ["charon", "nix", "hydra"]; readonly orcus: readonly ["vanth"]; readonly haumea: readonly ["hiiaka", "namaka"]; readonly eris: readonly ["dysnomia"]; } = {
earth: ["moon"],
mars: ["phobos", "deimos"],
jupiter: ["io", "europa", "ganymede", "callisto"],
saturn: ["mimas", "enceladus", "tethys", "dione", "rhea", "titan", "iapetus"],
uranus: ["miranda", "ariel", "umbriel", "titania", "oberon"],
neptune: ["proteus", "triton", "nereid"],
pluto: ["charon", "nix", "hydra"],
orcus: ["vanth"],
haumea: ["hiiaka", "namaka"],
eris: ["dysnomia"],
} as const
Members
| Name | Type | Description |
|---|---|---|
earth | readonly ["moon"] | |
mars | readonly ["phobos", "deimos"] | |
jupiter | readonly ["io", "europa", "ganymede", "callisto"] | |
saturn | readonly ["mimas", "enceladus", "tethys", "dione", "rhea", "titan", "iapetus"] | |
uranus | readonly ["miranda", "ariel", "umbriel", "titania", "oberon"] | |
neptune | readonly ["proteus", "triton", "nereid"] | |
pluto | readonly ["charon", "nix", "hydra"] | |
orcus | readonly ["vanth"] | |
haumea | readonly ["hiiaka", "namaka"] | |
eris | readonly ["dysnomia"] |
Examples
import { MOONS_OF } from "@johnmorrisdotca/wakusei-planets";
console.log(MOONS_OF.jupiter.join(", "));io, europa, ganymede, callistoWhat it prints (run when this page was built)