0.1.2 • Published 8 years ago

trimp v0.1.2

Weekly downloads
8
License
The MIT License (...
Repository
github
Last release
8 years ago

node-trimp

Training Impulse (trimp) based on heart rate, which often referred as TRIMP^exp.

what is trimp?

'training impulse' (TRIMP) is a method to quantify training load that can be used in various endurance sports, such as running, swimming, cycling.

code snippet to use trimp

var Trimp = require('trimp')({sex: 'male', rest: 55, max: 194});
var hr = 135;       // workout perfomed at this heart rate
var duration = 60;  // minutes
var trimp = Trimp.calcuate(hr, duration);
console.log("Total TRIMP for this workout is: " + trimp);
0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago