FitnessJS is a library of exercise physiology and healthcare equations for transforming basic health data. FitnessJS compiles bodybuilding competition formulas, aerobic performance models, and body composition equations, giving developers back their time and the freedom to develop the application they envision.
FitnessJS is written using Typescript. To install, download the latest release and include it in your markup:
<script type="text/javascript" src="fitness.js"></script>
Or for the minified version:
<script type="text/javascript" src="fitness.min.js"></script>
FitnessJS is written in TypescriptTypescript, so developers can recompile the library to target specific versions of ECMAScript, module loaders and more. Typescript includes a full list of compiler options on the compiler options. Modifications to the Typescript compiler configuration can be made in src/tsconfig.json
. To recompile:
cd src
tsc
and the compiled (but not minified) version will be built in the dist
folder.
Please raise potential bugs on Github.