Nunjucks
A rich and powerful templating language for JavaScript
...Rich Powerful language with block inheritance, autoescaping, macros, asynchronous control, and more. Heavily inspired by jinja2. Fast & Lean High-performant. Small 8K gzipped runtime with precompiled templates in the browser. Crazy extensible with custom filters and extensions. Everywhere available in node and all modern web browsers, with thorough precompilation options. Nunjucks allows you to port all of your existing templates from a project to something that's easier to manage. By moving your templates to the client, transfer sizes are reduced and page responsiveness increases significantly. ...