README.md
April 22, 2026 ยท View on GitHub
Run
pnpm --filter @templjs/core build
pnpm --filter @templjs/cli build
node src/packages/cli/dist/cli.js render \
-t examples/html-email/template.html.tmpl \
-i examples/html-email/data.json
Purpose
Demonstrates transactional email generation with optional list rendering.
Data Notes
order.totalmust be numeric.order.currency_codemust be an ISO 4217 code (for exampleUSD,EUR).order.localemust be a BCP 47 locale string (for exampleen-US,de-DE).