Reference · Satellites: orbital elements in, positions out
SHORT_NAMESconstant
The short names of the satellites the package knows by name, by NORAD number, in English and in Japanese: the ISS, Tiangong and Hubble.
Import it
import { SHORT_NAMES } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
const SHORT_NAMES: Readonly<Record<number, { en: string; ja: string; }>> = {
25544: { en: "ISS", ja: "ISS" },
48274: { en: "Tiangong", ja: "天宮" },
20580: { en: "Hubble", ja: "ハッブル" },
}
Examples
import { SHORT_NAMES } from "@johnmorrisdotca/chikyu-earth/satellites";
console.log(SHORT_NAMES[48274]?.ja);天宮What it prints (run when this page was built)