UNPKG

measure-convert

Version:

JS/TS package for managing units of measurement. Convert, add, subtract, multiply, divide, and compare units of measurement.

13 lines (12 loc) 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Unit = void 0; class Unit { constructor(name, symbol, description, baseUnitConversionFactor) { this.name = name; this.symbol = symbol; this.description = description; this.baseUnitConversionFactor = baseUnitConversionFactor; } } exports.Unit = Unit;