A deterministic calendar compiler and temporal rule engine for TypeScript.
ChronoGrid separates calendar arithmetic from presentation so the same canonical month model can be reused across web, print, PDF, JSON, and other renderers.
Calendar Specification
↓
Normalization
↓
Temporal Rule Engine
↓
Canonical Calendar IR
↓
Invariant Validation
↓
HTML / JSON / PRINT / SVG
const calendar = compileMonth({
year: 2027,
month: 3,
weekStartsOn: 1
});