Skip to content

nzhuk/bicycle-power-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (jsl3@psu.edu) )

npm version

How to build

  • npm install
  • npm build

How to run unit tests

  • npm test

How to do your own calculations

  1. Use the Bicycle Power Calculator page, or:
  2. Tweak unit tests and run them

About

A small library (a single function, really) for calculating required cycling power & other parameters when bunch of inputs is known

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors