change-weight.js

0.1.0 • Public • Published

change-weight

With change-weight you can calculate the equivalent weight in pounds or kilograms using a simple execution of a Javascript function.

Installation

npm install change-weight.js

How it works?

import cw from 'change-weight.js'

// Kilograms to pounds
cw(3, {lb: true}) // 6.61 lb

// Pounds to Kilograms
cw(3, {kg: true}) // 1.36 kg

It's that easy!

Credits

License

MIT

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i change-weight.js

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • mrf1989