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 host stars of confirmed exoplanets worth a visit: place, distance, and each planet's name and orbital period

ExoplanetHosttype

One host star with its planets.

Import it

import type { ExoplanetHost } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

Definition

interface ExoplanetHost {
    id: string;
    name: string;
    nameJa: string | undefined;
    designation: string;
    archiveName: string;
    aliases: readonly string[];
    constellation: string;
    rightAscension: number;
    declination: number;
    positionErrorArcsec: number | undefined;
    lightYears: number;
    lightYearsError: number;
    spectralType: string | undefined;
    luminosityClass: LuminosityClass | undefined;
    magnitude: number | undefined;
    nearStarId: string | undefined;
    selection: ExoplanetHostSelection;
    planetCount: number;
    planets: readonly Exoplanet[];
    references: readonly string[];
    sources: {
        position: ExoplanetHostSource;
        distance: "GCTP" | "BSC" | "dynamical" | "typed";
        spectralType: ExoplanetHostSource | undefined;
        magnitude: ExoplanetHostSource | undefined;
        planets: "NASA Exoplanet Archive";
    };
}

Members

NameTypeDescription
idstring

A key that stays the same: proxima-cen, trappist-1.

namestring

The star's name (Proxima Centauri, Helvetios, GJ 876).

nameJastring | undefined

The name in Japanese where known, else undefined.

designationstring

The star's designation with Greek letters where it has one (ε Eri, Proxima Cen), the same form as in /near-stars.

archiveNamestring

The name the NASA Exoplanet Archive gives the host (eps Eri, Proxima Cen).

aliasesreadonly string[]

Other spellings that find the host (ヘルヴェティオス for Helvetios).

constellationstring

The IAU three-letter constellation abbreviation the star lies in.

rightAscensionnumber

Right ascension in degrees at J2000, 0 up to 360.

declinationnumber

Declination in degrees at J2000, -90 to 90.

positionErrorArcsecnumber | undefined

The error of the position in arc-seconds where the table gives one, else undefined.

lightYearsnumber

The distance in light-years, known to 10% or better.

lightYearsErrornumber

The error of lightYears.

spectralTypestring | undefined

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

luminosityClassLuminosityClass | undefined

The luminosity class in spectralType, or undefined.

magnitudenumber | undefined

The V magnitude, or undefined.

nearStarIdstring | undefined

The id of the system in @johnmorrisdotca/hoshi-stars/near-stars that holds this star, where it is within 20 light-years, else undefined.

selectionExoplanetHostSelection

Why the star is in the table.

planetCountnumber

The number of confirmed planets in planets.

planetsreadonly Exoplanet[]

The confirmed planets (not flagged controversial), by letter.

referencesreadonly string[]

Papers behind the typed values, empty for the others.

sources{ position: ExoplanetHostSource; distance: "GCTP" | "BSC" | "dynamical" | "typed"; spectralType: ExoplanetHostSource | undefined; magnitude: ExoplanetHostSource | undefined; planets: "NASA Exoplanet Archive"; }

Where each value comes from.

Examples

import { exoplanetHostByName, type ExoplanetHost } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

const host: ExoplanetHost = exoplanetHostByName("TRAPPIST-1")!;
console.log(host.name, host.planetCount, host.lightYears.toFixed(1));
TRAPPIST-1 7 39.5

What it prints (run when this page was built)

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