Reference · Rockets, variants, parts and the fit check
MAKERSconstant
The groups the demo lists rockets under, by id, with the name shown for each.
Import it
import { MAKERS } from "@johnmorrisdotca/uchusen-rockets";
Definition
const MAKERS: { readonly spacex: "SpaceX"; readonly nasa: "NASA"; readonly "blue-origin": "Blue Origin"; readonly "rocket-lab": "Rocket Lab"; readonly russia: "Russia"; readonly "us-army": "US Army"; readonly fleet: "SPX"; readonly sites: "Sites"; } = { spacex: "SpaceX", nasa: "NASA", "blue-origin": "Blue Origin", "rocket-lab": "Rocket Lab", russia: "Russia", "us-army": "US Army", fleet: "SPX", sites: "Sites" } as const
Members
| Name | Type | Description |
|---|---|---|
spacex | "SpaceX" | |
nasa | "NASA" | |
blue-origin | "Blue Origin" | |
rocket-lab | "Rocket Lab" | |
russia | "Russia" | |
us-army | "US Army" | |
fleet | "SPX" | |
sites | "Sites" |
Examples
import { MAKERS } from "@johnmorrisdotca/uchusen-rockets";
console.log(MAKERS.spacex, Object.keys(MAKERS).length);SpaceX 8What it prints (run when this page was built)