METEOR_SHOWERS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The working list, in the order of the year.
インポート
import { METEOR_SHOWERS } from "@johnmorrisdotca/chikyu-earth/meteors";
定義
const METEOR_SHOWERS: readonly MeteorShower[]
例
import { METEOR_SHOWERS } from "@johnmorrisdotca/chikyu-earth/meteors";
const strongest = [...METEOR_SHOWERS].sort((a, b) => (b.zhr ?? 0) - (a.zhr ?? 0))[0];
console.log(METEOR_SHOWERS.length, strongest?.name); // 37 "Geminids"37 Geminids出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。