1.0.6 • Published 4 years ago

metaunit v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

final

metaunit

Metaunit is NPM package for unit conversion.

Installation

npm i metaunit

Usage

centimeters to millimeters

const unit = require('metaunit');

const cm_to_mm = unit.centimeters_to_millimeters(1);
console.log(cm_to_mm);

kilograms to grams

const unit = require('metaunit')

const kg_to_g = unit.kilograms_to_grams(20)
console.log(kg_to_g);

liters to milliliter

const unit = require('metaunit')

const l_to_ml = unit.liters_to_milliliters(5)
console.log(l_to_ml);

What does it do?

metaunit will convert you metric values. You only have to pass the desired unit values inside as parameter of the method.

When should I use

If you are trying to convert metric values use metaunit

Available metric conversions

    centimeters to millimeters
    decimeters to entimeters
    meters to centimeters
    meters to decimeters
    kilometers to meters
    square centimeters to square millimeters
    square meters to square centimeters
    hectares to square meters
    square Meters to hectares
    square Kilometers to square Meters
    cubic centimeters to cubic millimeters
    cubic decimeters to cubic centimeters
    cubic meters to cubic centimeters
    cubic meters to cubic decimeters
    grams to milligrams
    decagrams to grams
    kilograms to grams
    tonnes to kilograms
    gigagrams to megagrams
    centiliters to milliliters
    deciliters to centiliters
    liters to milliliters
    liters to deciliters
    kiloliters to liters
    bytes to bit
    kilobyte to byte
    megabyte to kilobytes
    gigabyte to megabytes
    terabytes to gigabyte
    petabytes to terabyte
    exabyte to petabytes
    zettabyte to exabytes
    yottabyte to zettabytes
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago