@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
29 lines (27 loc) • 917 B
JavaScript
import { METER } from "./si/METER.js";
import { KILOGRAM } from "./si/KILOGRAM.js";
import { SECOND } from "./si/SECOND.js";
import { AMPERE } from "./si/AMPERE.js";
import { KELVIN } from "./si/KELVIN.js";
import { MOLE } from "./si/MOLE.js";
import { CANDELA } from "./si/CANDELA.js";
/**
* The 7 SI base units in their ISO order: length, mass, time, electric current, temperature,
* amount of substance, luminous intensity.
*
* Suitable as a registry for {@link unit_matrix_to_string} or {@link format_quantity} when the
* caller wants every quantity expressed in base SI form (`m`, `kg`, `s`, `A`, `K`, `mol`, `cd`)
* with no derived shorthand. Compound matrices like Newton or Volt fall back to base-unit
* rendering (`kg·m/s^2`, `kg·m^2/s^3·A`).
*
* @type {NamedUnit[]}
*/
export const MEASUREMENT_UNITS_SI = [
METER,
KILOGRAM,
SECOND,
AMPERE,
KELVIN,
MOLE,
CANDELA
];