Package author: Jukka Aho (@ahojukka5, ahojukka5@gmail.com)
Wellness is a superior wellness application with millions of wonderful features.
Just clone it to your favorite place:
git clone https://github.com/ahojukka5/wellness
cd wellness
npm install
To calculate body mass index:
npm run calculateBmi <height> <mass>
For example:
npm run calculateBmi 180 80
# output
Normal (healthy weight)
To calculate do you exercise enough:
npm run calculateExercises 2 1 0 2 4.5 0 3 1 0 4
# output
{ periodLength: 9,
trainingDays: 6,
success: false,
rating: 2,
ratingDescription: 'not too bad but could be better',
target: 2,
average: 1.7222222222222223 }