Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · Stars: names, positions, distance and colour

LuminosityClasstype

A luminosity class: Ia, Iab and Ib are supergiants (I where the type does not say which), II bright giants, III giants, IV subgiants, V dwarfs (main-sequence stars), VI subdwarfs and D white dwarfs.

Import it

import type { LuminosityClass } from "@johnmorrisdotca/hoshi-stars";

Definition

type LuminosityClass = "Ia" | "Iab" | "Ib" | "I" | "II" | "III" | "IV" | "V" | "VI" | "D";

Examples

import { luminosityClass, type LuminosityClass } from "@johnmorrisdotca/hoshi-stars";

const kind: LuminosityClass | undefined = luminosityClass("M1-2Ia-Iab");
console.log(kind);
Ia

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.