ElementFormat型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The text formats parseElements reads: CCSDS OMM as JSON (what CelesTrak's FORMAT=json and Space-Track's JSON serve), the same as CSV (CelesTrak's default), and two- or three-line TLE text.
インポート
import type { ElementFormat } from "@johnmorrisdotca/chikyu-earth/satellites";
定義
type ElementFormat = "omm-json" | "omm-csv" | "tle";
例
import type { ElementFormat } from "@johnmorrisdotca/chikyu-earth/satellites";
const format: ElementFormat = "tle";
console.log(format);tle出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。