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 · NGC and IC objects as well

deepSkyfunction

The Messier, NGC and IC objects that meet the options: the Messier objects first in Messier order, then the others by NGC number and then IC number. The NGC and IC objects are those Wikidata gives a position (11,788 besides the 110 Messier objects, about nine in ten of the two catalogues), and their magnitudes and types are Wikidata's as well. Magnitude is missing for about four in ten.

Import it

import { deepSky } from "@johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic";

Definition

function deepSky(options?: DeepSkyOptions): DeepSkyObject[]

Parameters

NameTypeDescription
options (optional)DeepSkyOptions

catalogue: only objects with a number in "messier", "ngc" or "ic". magnitude: only objects as bright as that (an object with no magnitude is never in). type: only that kind.

Returns

DeepSkyObject[]

A fresh array of the shared, frozen objects.

Examples

import { deepSky } from "@johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic";

console.log(deepSky({ catalogue: "ngc", type: "planetary nebula", magnitude: 10 }).length);
2

What it prints (run when this page was built)

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