Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

531

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

531

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

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-28.57%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 02 Jul 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc