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 Messier objects

GalaxyDistanceSourcetype

Where a galaxy's distance was read: a database, its licence, the items of it that were read and how many statements they held.

Import it

import type { GalaxyDistanceSource } from "@johnmorrisdotca/hoshi-stars/deep-sky";

Also exported from: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic

Definition

interface GalaxyDistanceSource {
    name: string;
    licence: string;
    items: string[];
    values: number;
}

Members

NameTypeDescription
namestring

The database: Wikidata.

licencestring

The licence the values are given under: CC0 1.0.

itemsstring[]

The database's item numbers for the galaxy (Q2469), so each value can be looked up. Usually one.

valuesnumber

How many distance statements the median is of (deprecated ones are not counted).

Examples

import { deepSkyObject, galaxyDistance, type GalaxyDistanceSource } from "@johnmorrisdotca/hoshi-stars/deep-sky";

const source: GalaxyDistanceSource = galaxyDistance(deepSkyObject("M31")!)!.sources[0]!;
console.log(source.name, source.licence, source.items, source.values);
Wikidata CC0 1.0 [ 'Q2469' ] 1

What it prints (run when this page was built)

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