Reference · The 88 constellations, in English and Japanese
Constellationtype
One of the 88 constellations.
Import it
import type { Constellation } from "@johnmorrisdotca/hoshi-stars/constellations";
Definition
interface Constellation {
abbreviation: string;
name: string;
genitive: string;
english: string;
japanese: string;
reading: string;
}
Members
| Name | Type | Description |
|---|---|---|
abbreviation | string | The IAU three-letter abbreviation, with its real capitals ( |
name | string | The Latin name ( |
genitive | string | The Latin genitive, the form used in star names ( |
english | string | The English name without an article ( |
japanese | string | The Japanese name in the kana form the National Astronomical Observatory of Japan uses, ending in 座 ( |
reading | string | The Japanese name written wholly in hiragana, 座 read as ざ ( |
Examples
import { constellation, type Constellation } from "@johnmorrisdotca/hoshi-stars/constellations";
const orion: Constellation = constellation("Ori")!;
console.log(orion.name, orion.english, orion.japanese);Orion Hunter オリオン座What it prints (run when this page was built)