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

allConstellationFactsfunction

The facts about all 88 constellations, alphabetical by Latin name like constellations().

Import it

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

Definition

function allConstellationFacts(): ConstellationFacts[]

Returns

ConstellationFacts[]

A fresh array of the shared, frozen facts.

Examples

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

const easy = allConstellationFacts().filter((facts) => facts.difficulty === "easy" && facts.hemisphere === "north");
console.log(easy.map((facts) => facts.constellation.name));
[
  'Andromeda', 'Auriga',
  'Boötes',    'Cassiopeia',
  'Cygnus',    'Draco',
  'Gemini',    'Pegasus',
  'Perseus',   'Ursa Major'
]

What it prints (run when this page was built)

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