本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス

メシエ天体ではない NGC・IC 天体の名前の一覧 (別のかたまり)

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

最小化と gzip 圧縮をしたサイズは 226.4 kB(読み込むものをすべて含み、esbuild で計測)

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
findNgcIc関数The NGC or IC row a name or number names exactly (NGC 7000, North America Nebula, ic 434), or undefined.
NAME_KINDS定数The kinds of row in the names index: star, cluster (open and globular), nebula (emission, reflection, planetary, supernova remnant), galaxy and other (an asterism, a double star Messier listed, a source that is none of those).
nameIndex関数An index over rows: by id, by exact name and by a ranked search.
NameIndex型What an index of rows offers: the rows, one by id, one by any name, and a ranked search.
nameKey関数A text folded to compare, as findName does: lower case, no accents, Greek letters spelt out and one space, a superscript as its digit; M 31, Messier 31 and m31 give m31, NGC 0224 gives ngc224, HR 2061 and hr2061 give hr2061.
NameKind型One kind of row: star, cluster, nebula, galaxy or other.
NameRow型One row of the names index: a star or a deep-sky object with the names a search box would try, and where to turn the sky to it.
ngcIcRowById関数One NGC or IC row by its id (ngc7000, ic434).
ngcIcRows関数The rows of the NGC and IC objects that are not Messier objects (11,788), brightest first (an object with no magnitude comes after those with one), as a fresh array.
searchNgcIc関数The NGC and IC rows whose names match what was typed, best first (see searchNames).
slugOf関数An address-safe id from a text: lower-case ASCII letters and digits in runs joined by one hyphen; an accent is dropped (Boötes gives bootes) and a Greek letter is spelt out (α1 Centauri gives alpha1-centauri).

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.47.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。