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 · What is near a star, an object or a point, in the sky and in space; neighbouring constellations

neighbouringConstellationsfunction

The constellations that share a piece of boundary with one constellation, in alphabetical order of their Latin names. Two constellations that meet only at a corner are not neighbours. The table is worked out from the IAU boundaries the first time it is needed (a few milliseconds) and kept.

Import it

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

Definition

function neighbouringConstellations(text: string): Constellation[]

Parameters

NameTypeDescription
textstring

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

Returns

Constellation[]

A new list of the shared, frozen constellations.

Examples

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

console.log(neighbouringConstellations("Ori").map((c) => c.abbreviation)); // ["Eri", "Gem", "Lep", "Mon", "Tau"]
[ 'Eri', 'Gem', 'Lep', 'Mon', 'Tau' ]

What it prints (run when this page was built)

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