Calculation Core
BMI, BMR, TDEE, macros, healthy-weight ranges, calorie deficits, unit conversion, and formula comparison.
Open-source calculation and data engineering
Deterministic health calculations, an explainable adaptive TDEE engine, accessible Web Components, public test vectors, and a dependency-free command-line interface.
The GitHub-ready source repository is included with this release. Publish it, then add its URL in /developers/config.js.
import { calculateTDEE } from "@bmitdee/core";
const result = calculateTDEE({
sex: "male",
age: 35,
heightCm: 178,
weightKg: 82,
activityMultiplier: 1.55
});
console.log(result.value);
// 2731.88 kcal/dayPackage portfolio
Package versions evolve independently from the BMITDEE website. Stable formulas can remain compatible while experimental adaptive methods improve.
BMI, BMR, TDEE, macros, healthy-weight ranges, calorie deficits, unit conversion, and formula comparison.
Longitudinal trend estimation, missing-data coverage, robust outlier screening, deterministic intervals, and synthetic scenarios.
Six accessible, framework-independent calculator components that run locally and expose results through custom events.
Run core and adaptive calculations from JSON files or stdin in scripts, CI, and reproducible workflows.
Formula examples, boundary cases, conversions, macro presets, and synthetic adaptive scenarios.
README, license, citation, security policy, contribution guide, Actions workflows, docs, examples, tests, and release automation.
Engineering principles
Outputs name the package, package version, formula, formula version, units, assumptions, warnings, and inputs used.
Committed JSON vectors and synthetic scenarios make formula changes visible and reproducible.
Dependency-free ES modules work in modern browsers, server-side JavaScript, static demos, and build pipelines.
The SDK makes no network requests. User inputs remain with the host application unless that application explicitly sends them elsewhere.
Start with a working example
The playground executes the same committed modules available in the downloadable repository.
Release downloads
| Artifact | Version | Use | Download |
|---|---|---|---|
bmitdee-js | 0.1.0 | Complete GitHub-ready monorepo | ZIP |
@bmitdee/core | 1.0.0 | Deterministic calculation package | ZIP |
@bmitdee/adaptive | 0.1.0 | Adaptive engine and synthetic generator | ZIP |
@bmitdee/elements | 0.1.0 | Accessible Web Components | ZIP |
test-vectors | 2026-07-11 | JSON validation library | ZIP |
SHA-256 checksums are available in SHA256SUMS.txt.