length-distance-converter

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

Usage no npm install needed!

<script type="module">
  import lengthDistanceConverter from 'https://cdn.skypack.dev/length-distance-converter';
</script>

README

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.