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 small first chunk of the names index: the 335 stars with a common name and the 110 Messier objects, the same rows as the full index, for a search box that loads about 20 kB first

nameRowsfunction

The rows of the small chunk: the 335 stars with a common name and the 110 Messier objects (445), brightest and best-known first (by weight), as a fresh array. Each equals the row of the same id in /names. For the other bright stars see /names, for the NGC and IC objects /names/ngc-ic.

Import it

import { nameRows } from "@johnmorrisdotca/hoshi-stars/names/named";

Definition

function nameRows(options?: { kinds?: readonly NameKind[]; }): NameRow[]

Parameters

NameTypeDescription
options (optional){ kinds?: readonly NameKind[]; }

kinds: only rows of those kinds.

Returns

NameRow[]

The rows.

Examples

import { nameRows } from "@johnmorrisdotca/hoshi-stars/names/named";

const rows = nameRows();
console.log(rows.length, rows[0].id, nameRows({ kinds: ["galaxy"] }).length);
445 sirius 40

What it prints (run when this page was built)

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