Core engine for Trevor.
# with npm
$ npm i trevor-engine
# or with yarn
$ yarn add trevor-engine
const trevorEngine = require('trevor-engine')
console.log(trevorEngine('60 mi to km')) // 96.56 km
console.log(trevorEngine('5 ft to cm')) // 152.40 cm
console.log(trevorEngine('9 in to cm')) // 22.86 cm
- Area
- Data Transfer Rate
- Digital Storage
- Energy
- Frequency
- Fuel Economy
- Length
- Mass
- Plane Angle
- Pressure
- Speed
- Temperature
- Time
- Volume
Feel free to contribute. Open a new issue, or make a pull request.