Reference · Facts, line drawings and positions
Systemtype
A planet's own pose and its moons as the Earth sees them at a time, nearest first.
Import it
import type { System } from "@johnmorrisdotca/wakusei-planets";
Definition
interface System {
planet: Apparent;
moons: MoonPlace[];
}
Members
| Name | Type | Description |
|---|---|---|
planet | Apparent | |
moons | MoonPlace[] |
Examples
import { system, type System } from "@johnmorrisdotca/wakusei-planets";
const jupiter: System = system("jupiter", Date.UTC(2026, 10, 2));
console.log(jupiter.moons.length);4What it prints (run when this page was built)