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 names index for the NGC and IC objects that are not Messier objects, in a chunk of their own

searchNgcIcfunction

The NGC and IC rows whose names match what was typed, best first (see searchNames).

Import it

import { searchNgcIc } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";

Definition

function searchNgcIc(text: string, options?: { limit?: number; kinds?: readonly NameKind[]; }): NameRow[]

Parameters

NameTypeDescription
textstring

What was typed.

options (optional){ limit?: number; kinds?: readonly NameKind[]; }

limit (20 by default) and kinds.

Returns

NameRow[]

The rows.

Examples

import { searchNgcIc } from "@johnmorrisdotca/hoshi-stars/names/ngc-ic";

console.log(searchNgcIc("horsehead").map((row) => row.id));
[ 'ic4592' ]

What it prints (run when this page was built)

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