Reference
Sky cultures: the figure and culture types, and your own culture
import { … } from "@johnmorrisdotca/hoshi-stars/culture";
0.5 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
Asterism | type | One figure of a sky culture: its names, its reading and the stars it joins, as Bright Star Catalogue (HR) numbers. |
AsterismKind | type | What kind of thing a figure is: one of the 88 constellations, a smaller asterism, or one of the Twenty-Eight Mansions of the Chinese sky. |
Culture | type | A sky culture: a named set of figures. |
defineCulture | function | Makes a culture from a function that lists its figures. |
NameLanguage | type | The languages a name can be in: Latin, English, Japanese, and Chinese in Simplified (zh-Hans) and Traditional (zh-Hant) characters. |