Reference · The 88 constellations, in English and Japanese
constellationsfunction
All 88 constellations, alphabetical by Latin name (Andromeda first, Vulpecula last).
Import it
import { constellations } from "@johnmorrisdotca/hoshi-stars/constellations";
Definition
function constellations(): Constellation[]
Returns
Constellation[]
A fresh array of the shared, frozen constellations.
Examples
import { constellations } from "@johnmorrisdotca/hoshi-stars/constellations";
console.log(constellations().length, constellations().map((c) => c.japanese).slice(0, 3));88 [ 'アンドロメダ座', 'ポンプ座', 'ふうちょう座' ]What it prints (run when this page was built)