length-distance-converter

1.0.2 • Public • Published

Overview

NPM package for metric conversions (Length/distance converter).

Build Status

Installation

npm i length-distance-converter --save

Setup and Basic Usage

const converter = require('length-distance-converter')

console.log(converter.kmToMiles(2))
// will output 1.24

Available Options

Functions
kmToMiles(val)
milesToKm(val)
metersToYard(val)
yardsToMeter(val)
metersToFeet(val)
feetToMeter(val)
yardsToFeet(val)
feetToYard(val)
cmToInches(val)
inchToCm(val)
mmToInches(val)
inchToMm(val)
feetToInches(val)
inchToFeet(val)

Feel free to clone or fork this project: https://github.com/deanilvincent/capitalize-decapitalize.git

Contributions & pull requests are welcome!

I'll be glad if you give this project a ★ on Github :))

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Package Sidebar

Install

npm i length-distance-converter

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • dvincent333