1.5.2 • Published 7 years ago

conversions v1.5.2

Weekly downloads
189
License
MIT
Repository
github
Last release
7 years ago

conversions

npm version Build Status Coverage Status npm downloads

dependencies Status devDependencies Status

Converts many different distance measures.

Install

npm install --save conversions

or

bower install --save conversions

Usage

conversions(value, fromUnit, toUnit)

Example

var conversions = require('conversions');
conversions(1000, 'metres', 'kilometres'); // equals 1
conversions(1000, 'm', 'km'); // equals 1

Supported Units

  • milimetres
  • centimetres
  • metres
  • kilometres
  • inches
  • feet
  • yards
  • miles

Aliases

It is possible to pass through other unit values for each unit, for example m|metre|metres|meter|meters or in|inch|inches

1.5.2

7 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.1

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago