0.1.0 • Published 7 years ago

weight-converter0.1.0 v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Weight-converter

Descripcion de la conversion

javascript module to convert mass units meassures. Kg to LB, LB to KG

Installation

npm install @renemar/weight-converter

Usage

import weightconverter from 'weightconverter'

##Specification

function weightconverter(mass,unit): returns the mass (param) quantity in unit (param) converted into (Lb,Kg).

i.e.: 1000Kg to Lb --> return weightconverter(1000,'kg')

				 > 	2000Lb
: 2000lb to Kg -->	return weightconverter(2000,'lb')		 
                 > 	1000Kg

##Credits

##License

MIT

0.1.0

7 years ago