Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@marantesss/powerlifting-formulas

Marantesss11MITdeprecated0.2.1TypeScript support: included

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Powerlifting Formulas Calculator (Wilks, WilksV2, Dots, IPF, Reshel and Glossbrenner)

powerlifting, calculator, ipf, wilks, dots, Reshel, Glossbrenner

readme

Powerlifting Formulas

Check this article to learn more about formulas.

Getting started

Install this package with you favorite package manager

npm install powerlifting-formulas
yarn add powerlifting-formulas
pnpm install powerlifting-formulas

Then use it like so:

import { wilks } from 'powerlifting-formulas'

// calculate OLD wilks formula for 82.5kg male lifer with 680kg lifted
wilks(82.5, 680, 'male')
// calculate new wilks formula for 120lbs female lifer with 425lbs lifted
wilks(120, 425, 'female', 'lb')

Formulas

Wilks before 2020

import { wilks } from 'powerlifting-formulas'

// calculate OLD wilks formula for 82.5kg male lifer with 680kg lifted
wilks(82.5, 680, 'male')
// calculate new wilks formula for 120lbs female lifer with 425lbs lifted
wilks(120, 425, 'female', 'lb')

Wilks After 2020

import { wilks2020 } from 'powerlifting-formulas'

// calculate OLD wilks formula for 82.5kg male lifer with 680kg lifted
wilks2020(82.5, 680, 'male')
// calculate new wilks formula for 120lbs female lifer with 425lbs lifted
wilks2020(120, 425, 'female', 'lb')

DOTS

import { dots } from 'powerlifting-formulas'

// calculate OLD wilks formula for 82.5kg male lifer with 680kg lifted
dots(82.5, 680, 'male')
// calculate new wilks formula for 120lbs female lifer with 425lbs lifted
dots(120, 425, 'female', 'lb')