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 · Facts for a gallery or a list: meaning, hemisphere, best month, origin, difficulty, asterisms, meteor showers

constellationFactsfunction

The facts about one constellation.

Import it

import { constellationFacts } from "@johnmorrisdotca/hoshi-stars/constellation-facts";

Definition

function constellationFacts(text: string): ConstellationFacts

Parameters

NameTypeDescription
textstring

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

Returns

ConstellationFacts

The shared, frozen facts.

Examples

import { constellationFacts } from "@johnmorrisdotca/hoshi-stars/constellation-facts";

const facts = constellationFacts("Orion");
console.log(facts.meaning.en, facts.asterisms.map((a) => a.en), facts.meteorShowers.map((s) => s.name.en));
Hunter [ "Orion's Belt", 'Winter Triangle', 'Winter Hexagon' ] [ 'Orionids' ]

What it prints (run when this page was built)

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