Small language, fully specified
Output, conditions, loops, macros, layouts and filters. Every rule of the specification is backed by a conformance suite.
Read the specification
A simple, fast, lightweight and extensible template engine for Node.js and browsers.
Edit the template or its data; it renders in your browser.
<h1>Hello, {{= name | capitalize }}!</h1>
{{ for task of tasks }}
<p>{{= loop.index + 1 }}. {{= task.title }}{{= " ✓" if task.done }}</p>
{{ else }}
<p>Nothing to do.</p>
{{ endfor }}{
"name": "world",
"tasks": [
{ "title": "Write a template", "done": true },
{ "title": "Render it", "done": false }
]
}npm install janja