@squawk/units - Aviation-aware unit conversion and formatting utilities.
All exports are grouped by domain namespace. Import the namespace and call functions from it to keep the call site self-documenting:
import { speed, isa, format } from '@squawk/units';const kmh = speed.knotsToKilometersPerHour(250);const da = isa.densityAltitudeFt(5000, 30);const label = format.formatAltitude(3500); Copy
import { speed, isa, format } from '@squawk/units';const kmh = speed.knotsToKilometersPerHour(250);const da = isa.densityAltitudeFt(5000, 30);const label = format.formatAltitude(3500);
@squawk/units - Aviation-aware unit conversion and formatting utilities.
All exports are grouped by domain namespace. Import the namespace and call functions from it to keep the call site self-documenting:
Example