Socket
Socket
Sign inDemoInstall

531

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    531

Given a 1RM, generate a 4 week 5/3/1 cycle


Version published
Weekly downloads
2
decreased by-80%
Maintainers
1
Install size
46.3 kB
Created
Weekly downloads
 

Readme

Source

531.js Build Status

Given a one rep max, generate a 4 week 5/3/1 cycle.

Install

npm install --save 531

Usage

var fto = require('531')
var cycle = fto(455)

// first week, first set weight:
// => cycle[0][0].weight

API

fto(max, [options]) -> array

Returns an array (of length 4) of set arrays (each of length 3).

Each set has:

ratio

Type: number

The ratio of the 90% 1RM to use for that set.

repetitions

Type: number

The number of repetitions to perform.

weight

Type: number

The total weight to use (unitless).

max

Type: boolean

Whether that set should be performed for the maximum number of sets possible.


max

Required
Type: number

Your estimated one rep max to use.

options
round

Type: string
Default: 'down'

The direction to round weights to.

increment

Type: number
Default: 5

The increment to use when rounding weights.

use90

Type: boolean
Default: true

Set to false to use 100% of your estimated one rep max for calculations instead of the recommended 90%.

License

MIT © Ben Drucker

Keywords

FAQs

Last updated on 02 Jul 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc