An open-source collection of calculators and computations for various sports and health-related metrics. Proudly presented by CoachRec.
Whether you're developing an application for athletes, fitness enthusiasts, or anyone keen on tracking their health metrics, our library is here to help you
To install the package from NPM, use the following command:
npm install @coachrec/sports-health-calculators
Once installed, you can import the required calculators as follows:
const { calculateBMIMetric, calculateBMIImperial } = require('@coachrec/sports-health-calculators');
- BMI
- Metric (
calculateBMIMetric
) - Imperial (
calculateBMIImperial
)
- Metric (
More calculators will be added in future versions. If you have a suggestion or request, please raise an issue.
In progress: will set up a table here for the future calculators
We welcome contributions from the community. If you'd like to add a calculator or improve an existing one, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them with a clear message.
- Create a pull request detailing the changes you made.
Please ensure your changes do not break existing functionality. Including tests with your pull request is highly encouraged.
This project is licensed under the MIT License. See the LICENSE
file for details.
For any queries or feedback, please raise an issue on the GitHub repository or contact CoachRec through our official website.