Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

healthstats

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

healthstats - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "healthstats",
"version": "1.0.0",
"version": "1.0.1",
"description": "Calculate BMI, BMR, and IBW.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,6 +1,17 @@

#Health Stats
### Node module for calculating BMI, BMR and IBW:
#####How to:
1. npm install healthstats
2. include healthstats in your .js file
```javascript
var health = require('healthstats');
```
##Public Methods:
#####Body Masss Index - BMI
```javascript
female.BMI(weight, height);
male.BMI(weight, height);
health.female.BMI(weight, height);
health.male.BMI(weight, height);
```

@@ -11,4 +22,4 @@ #####Basal Metabolic Rate - BMR

```javascript
female.BMR(weight, height, age);
male.BMR(weight, height, age);
health.female.BMR(weight, height, age);
health.male.BMR(weight, height, age);
```

@@ -21,16 +32,16 @@

//Sedentary
female.noActivity(female.BMR);
male.noActivity(male.BMR);
health.female.noActivity(female.BMR);
health.male.noActivity(male.BMR);
//Light Activity
female.lightActivity(female.BMR);
male.lightActivity(male.BMR);
health.female.lightActivity(female.BMR);
health.male.lightActivity(male.BMR);
//Moderate Activity
female.moderateActivity(female.BMR);
male.moderateActivity(male.BMR);
health.female.moderateActivity(female.BMR);
health.male.moderateActivity(male.BMR);
//Very Active
female.veryActive(female.BMR);
male.verActive(male.BMR)
health.female.veryActive(female.BMR);
health.male.verActive(male.BMR)
//Extremely Active
female.extremelyActive(female.BMR);
male.extremelyActive(male.BMR);
health.female.extremelyActive(female.BMR);
health.male.extremelyActive(male.BMR);
```

@@ -40,4 +51,4 @@

```javascript
female.IBW(height);
male.IBW(height);
health.female.IBW(height);
health.male.IBW(height);
```

@@ -44,0 +55,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc