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 Messier objects

DEEP_SKY_TYPESconstant

The kinds of deep-sky object, a small fixed list.

Import it

import { DEEP_SKY_TYPES } from "@johnmorrisdotca/hoshi-stars/deep-sky";

Also exported from: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic

Definition

const DEEP_SKY_TYPES: readonly ["other", "galaxy", "globular cluster", "open cluster", "nebula", "planetary nebula", "supernova remnant"] = ["other", "galaxy", "globular cluster", "open cluster", "nebula", "planetary nebula", "supernova remnant"] as const

Examples

import { DEEP_SKY_TYPES } from "@johnmorrisdotca/hoshi-stars/deep-sky";

console.log(DEEP_SKY_TYPES.length, DEEP_SKY_TYPES.includes("galaxy"));
7 true

What it prints (run when this page was built)

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