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 88 constellations, in English and Japanese

starsInfunction

The bright stars that lie in a constellation, brightest first: every star of the Yale Bright Star Catalogue (to magnitude 6.0) whose constellation is that abbreviation, with a Bayer letter or a Flamsteed number or without one.

Import it

import { starsIn } from "@johnmorrisdotca/hoshi-stars/constellations";

Definition

function starsIn(text: string): Star[]

Parameters

NameTypeDescription
textstring

The constellation, as the IAU abbreviation (Ori) or any other name constellation accepts.

Returns

Star[]

A fresh array of the shared, frozen stars.

Examples

import { starsIn } from "@johnmorrisdotca/hoshi-stars/constellations";

console.log(starsIn("Ori").slice(0, 3).map((s) => s.name ?? s.designation));
[ 'Rigel', 'Betelgeuse', 'Bellatrix' ]

What it prints (run when this page was built)

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