Edge Template Parser
JSON →edge-parser is a JavaScript/TypeScript library designed to parse the syntax of the Edge template engine, converting template strings into executable JavaScript functions. It is currently stable at version 9.1.0 (published December 2025), with recent releases focusing on features like update expression support and dependency updates. The library provides a programmatic API for tokenizing template input, transforming its Abstract Syntax Tree (AST), and processing tokens into a final JavaScript output, which can then be invoked with template state. A key differentiator is its explicit handling of error tracing within compiled templates via `filename` and `lineNumber` parameters, and highly configurable options for managing template variables (`statePropertyName`) and helper function paths (`escapeCallPath`, `toAttributesCallPath`).
Traffic · last 30 days ↑500% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany