Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 843 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 843 Bytes

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]) )

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