An open API service indexing awesome lists of open source software.

https://github.com/gedex/health-calculator

A library to help calculate well known health-related metrics.
https://github.com/gedex/health-calculator

Last synced: 6 months ago
JSON representation

A library to help calculate well known health-related metrics.

Awesome Lists containing this project

README

          

health-calculator
=================

A library to help calculate well known health-related metrics.

## Install

```
npm i health-calculator
```

## Usage

```
import hc from 'health-calculator';

console.log( hc.dietary.tdee( 'male', 20, 80, 180, 'moderate' ) );
```

or:

```
const hc = require( 'health-calculator' );

console.log( hc.dietary.tdee( 'male', 20, 80, 180, 'moderate' ) );
```

See API reference for more.

## API Reference

{{>main}}