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 · Stars: names, positions, distance and colour

starByHrfunction

A star by its Bright Star Catalogue number.

Import it

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

Definition

function starByHr(hr: number): Star | undefined

Parameters

NameTypeDescription
hrnumber

The HR number (Sirius is 2491).

Returns

Star | undefined

The star, or undefined if that number is not in this table (the table holds the stars to magnitude 6.0 only).

Examples

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

console.log(starByHr(2491)?.name);
Sirius

What it prints (run when this page was built)

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