unit-xchange
This is package will not only convert metric to imperial it will also help with converting inches to feet, etc.
Still in beta use with caution!
yarn add unit-xchange
or
npm i unit-xchange
import { area, weight, distance } from 'unit-xchange';
or
import uxc from 'unit-xchange'; // TODO: need to implement
uxc.distance.feetToMeter(12);
TODO:
- add more to imperialToMetric JS
- add Metric Volume calculations
- add Metric Area calcs
- Metric is easier to start with.
Donate
If you would like to buy me a coffee