wilks
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Wilks

Calculate wilks coefficient. This library includes the old version and the new 2020 version of wilks formula.

Usage

npm i wilks

import { calculateWilksPoints } from "wilks";

const wilksPoints = calculateWilksPoints(
  gender,
  bodyWeight,
  total,
  unitType,
  isNewVersion,
);
  • gender - "m" for male and "f" for female
  • bodyWeight (number)
  • total (number)
  • unit - "metric" for kgs and "imperial" for lbs
  • updatedVersion - false to use old wilks formula and new to use 2020 version

Roadmap

  • [ ] - input validation for vanilla js
  • [ ] - calculate weight to lift for target wilks point based on bodyweight

Package Sidebar

Install

npm i wilks

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

7.06 kB

Total Files

7

Last publish

Collaborators

  • devastion