ucum-lhc
ucum-lhc copied to clipboard
LHC implementation of UCUM validation and conversion services
This PR addresses #18 and adds handling of eq mol and eq mass conversions. Changes: 1) Update of convertUnitTo signature to take an optional object parameter from: ```ts convertUnitTo(fromUnitCode, fromVal,...
## Motivation when bundling my app that depends on `@lhncbc/ucum-lhc` via esbuild, it will include the stream package from `node_modules/stream` instead of using the `stream` package from node runtime because...
There are unit conversions that require valence in order for the conversion to be correct. An example would be: Phosphorus which has a valence 5 converting from mmol/L to meq/L.