@nzhuk/bicycle-power-calculator
v0.0.1
Published
Bicycle Power Calculator is a small library (a single function, really) written in TypeScript for calculating required power in watts and other parameters useful in cycling.
Downloads
2
Readme
Bicycle Power Calculator in TypeScript
Bicycle Power Calculator is a small library (a single function, really) written in TypeScript for calculating required cycling power and other parameters.
The function itself has been ported to TypeScript from HTML/JavaScript version found here: http://www.mne.psu.edu/simpson/courses/me240/bikecalc1.htm (1 June 1999 by John S. Lamancusa - Penn State University ([email protected]) )
How to build
npm install
npm build
How to run unit tests
npm test
How to do your own calculations
- Tweak unit tests or write some new ones
- Run tests again
- Feel free to fork & provide some UI to this :)