README.md

April 22, 2026 ยท View on GitHub

Run

node examples/markdown-report/validate-data.mjs
pnpm --filter @templjs/core build
pnpm --filter @templjs/cli build
node src/packages/cli/dist/cli.js render \
  -t examples/markdown-report/template.md.tmpl \
  -i examples/markdown-report/data.json

Purpose

Demonstrates report generation with loops and conditional blocks.

Data Contract

  • active_users_by_region lists the regional active-user counts that contribute to kpi.active_users_30d.
  • The sample data currently sums to the same value as kpi.active_users_30d.