# repmax-calc

> A library to calculate one rep max

Latest version **1.0.0** (published 2023-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install repmax-calc
pnpm add repmax-calc
yarn add repmax-calc
bun add repmax-calc
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-02-26 |
| First published | 2023-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Viktoras Bezaras |
| Maintainers | viktoras25 |
| Keywords | one-rep-max, 1rm, fitness, brzycki, epley |

## Links

- npm: https://www.npmjs.com/package/repmax-calc
- Repository: https://github.com/viktoras25/repmax-calc
- Homepage: https://github.com/viktoras25/repmax-calc#readme
- Issues: https://github.com/viktoras25/repmax-calc/issues
- npm.io page: https://npm.io/package/repmax-calc

## Recent versions

- 1.0.0 (latest) — 2023-02-26
- 0.1.0 — 2023-02-26

## README

# RepMax-calc

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

More information about [One-repetition maximum](https://en.wikipedia.org/wiki/One-repetition_maximum) (Wikipedia).

## Installation

```bash
npm install repmax-calc
```

### Usage

```javascript
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)
```

---
_Source: https://npm.io/package/repmax-calc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
