リファレンス · 検索ボックス用の名前の一覧 (明るい星とメシエ天体ごとに、英語・日本語の名前、符号、星座、順位の重み、アドレスに使える ID、向ける先を持つ行。IDと名前で引けます)
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).
インポート
import { NAME_KINDS } from "@johnmorrisdotca/hoshi-stars/names";
ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/names/named, @johnmorrisdotca/hoshi-stars/names/ngc-ic
定義
const NAME_KINDS: readonly ["star", "cluster", "nebula", "galaxy", "other"] = ["star", "cluster", "nebula", "galaxy", "other"] as const
例
import { NAME_KINDS } from "@johnmorrisdotca/hoshi-stars/names";
console.log(NAME_KINDS.join(", "));star, cluster, nebula, galaxy, other出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。