pushup-sequence
v2.0.1
Published
Generatively create pushup sequences. Yes, actual physical pushups.
Downloads
31
Readme
pushup-sequence
Generatively create pushup sequences. Yes, actual physical pushups.
Installation
$ npm install pushup-sequence
Usage
CLI
$ pushup <number>
$ pushup 10
[ 17, 13, 14, 17, 14 ]
JS
const generate = require('pushup-sequence')
const generate(0, 5)
// => [ [ 15, 11, 12, 15, 12 ],
// [ 16, 13, 12, 13, 16 ],
// [ 17, 14, 13, 17, 14 ],
// [ 18, 15, 14, 15, 18 ],
// [ 17, 16, 17, 20, 20 ] ]
API
generate([start], n)
Generate n
pushup sequences. Each sequence consists of 5 repetitions. An
optional start value can be provided.
Why?
Almost all fitness apps are silly. Most apps can be replaced by an array of values + a stopwatch.