/trevor-engine

Core engine for Trevor

Primary LanguageJavaScriptMIT LicenseMIT

trevor-engine

Travis npm license

Core engine for Trevor.

Installation

# with npm
$ npm i trevor-engine

# or with yarn
$ yarn add trevor-engine

Usage

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

Road Map

  • Area
  • Data Transfer Rate
  • Digital Storage
  • Energy
  • Frequency
  • Fuel Economy
  • Length
  • Mass
  • Plane Angle
  • Pressure
  • Speed
  • Temperature
  • Time
  • Volume

Contribution

Feel free to contribute. Open a new issue, or make a pull request.

License

MIT