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 · The 73 star systems within 20 light-years, with names in English and Japanese, place, distance, companions and the source of each value

NearStarMembertype

One star of a system.

Import it

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

Definition

interface NearStarMember {
    name: string;
    nameJa: string | undefined;
    role: "primary" | "companion";
    rightAscension: number | undefined;
    declination: number | undefined;
    lightYears: number | undefined;
    spectralType: string | undefined;
    luminosityClass: LuminosityClass | undefined;
    magnitude: number | undefined;
    source: NearStarSource;
    note: string | undefined;
}

Members

NameTypeDescription
namestring

The star's name (Sirius B, Proxima Centauri).

nameJastring | undefined

The name in Japanese where it has one, else undefined.

role"primary" | "companion"

"primary" for the star the system's values are the values of (the brightest, or the one the table names), else "companion".

rightAscensionnumber | undefined

Right ascension in degrees at J2000, or undefined for a companion the Yale tables do not hold (it is close beside the primary).

declinationnumber | undefined

Declination in degrees at J2000, or undefined as above.

lightYearsnumber | undefined

The star's own distance in light-years, or undefined as above.

spectralTypestring | undefined

The spectral type, or undefined where the source gives none.

luminosityClassLuminosityClass | undefined

The luminosity class in spectralType, or undefined where it states none (a white dwarf is D only where the type starts with D).

magnitudenumber | undefined

The V magnitude, or undefined where there is none.

sourceNearStarSource

Where the star's values come from: "typed" for a published value typed into the package.

notestring | undefined

A word about the star (a white dwarf, a brown dwarf), or undefined.

Examples

import { nearStarByName, type NearStarMember } from "@johnmorrisdotca/hoshi-stars/near-stars";

const sirius: readonly NearStarMember[] = nearStarByName("Sirius")!.members;
console.log(sirius.map((m) => `${m.name} ${m.spectralType}`));
[ 'Sirius A1Vm', 'Sirius B DA2' ]

What it prints (run when this page was built)

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