GlucoseIQ
API Reference

@glucoseiq/core API

Generated reference for the complete public core API.

The public contracts exported by @glucoseiq/core, generated from source declarations and TSDoc.

Reports

Selected composed CGM analytics summaries.

AGP & Metrics Aggregate

AGP-style percentile-band series and selected aggregate metrics.

Time in Range

Time-in-range, pregnancy, and tight-range calculations.

Glucose IQ Score

The project-defined wellness score derived from GRI.

Variability & Risk Metrics

Glucose variability and risk indices.

Meals & AUC

Meal-response and area-under-the-curve analysis.

Episodes

Timestamp-grouped hypoglycemia and hyperglycemia episode candidates.

Live Model

Trend derivation and sensor staleness helpers.

Time-Series Primitives

Gap detection, day/night splitting, and grid alignment.

Cohort

Metric distributions across multiple subjects.

Rendering (SVG)

Dependency-free SVG-string renderers.

Connectors

Dexcom, Libre, and Nightscout normalization.

Ingestion

Mapped header-row delimited data parsing.

Interoperability

FHIR and Open mHealth payload builders.

Conversions, A1C & GMI

Unit conversion and A1C, eAG, and GMI estimation.

Glucose Values & Formatting

Validation, guards, alignment, labels, and formatting.

Types & Interfaces

Public data contracts.

Constants

Public constants and capabilities.

Error Classes

Typed errors and stable codes.

On this page