trimp

0.1.2 • Public • Published

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);

Readme

Keywords

Package Sidebar

Install

npm i trimp

Weekly Downloads

59

Version

0.1.2

License

The MIT License (MIT)

Last publish

Collaborators

  • beeplove