1.0.0 • Published 1 year ago

repmax-calc v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

RepMax-calc

A library to estimate 1-Rep-Max using different formulas.

More information about One-repetition maximum (Wikipedia).

Installation

npm install repmax-calc

Usage

import { RepCalculator } from 'repmax-calc'

const calc = new RepCalculator()

// Calculate 1RM with a specific formula
calc.getOneRepMax(Formula.Brzycki, 100, 8)

// Calculate 1RM as an average of all used formulas
calc.getOneRepMaxAverage(100, 8)

// Get the highest estimate of all used formula
calc.getOneRepMaxHigh(100, 8)

// Get the lowest estimate of all used formula
calc.getOneRepMaxLow(100, 8)

// Get all formulas results
calc.getOneRepMaxAll(100, 8)