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.
- Host: GitHub
- URL: https://github.com/gedex/health-calculator
- Owner: gedex
- Created: 2021-06-23T08:59:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T01:46:23.000Z (about 5 years ago)
- Last Synced: 2025-08-09T07:43:50.892Z (12 months ago)
- Language: TypeScript
- Size: 75.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.hbs
- Contributing: .github/CONTRIBUTING.md
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}}