1.0.8 • Published 3 years ago

compute-bmi v1.0.8

Weekly downloads
43
License
MIT
Repository
github
Last release
3 years ago

BMI Calculator

Compute BMI and breakdown nutrients

Installation

npm i compute-bmi

Usage

import BMICalculator from "compute-bmi";

const calculate = new BMICalculator({height:value, weight:value});
const results = calculate.results();

Sample response

{
    bmi: 21.97,
    bmiClassification: "normal",
    dbw: 61.20,
    kcal: 1836,
    nutrients: {
       carbohydrates: 275.40, 
       protein: 68.85, 
       fat: 51.00
    }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago