0.2.1 • Published 6 months ago

@marantesss/powerlifting-formulas v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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