Context: frontend-dev-bookmarks / Languages, Protocols, Browser APIs
Template engines are tools to separate program-logic and presentation into two independent parts. This makes the development of both logic and presentation easier, improves flexibility and eases modification and maintenance.
- Dot.js: The fastest + concise javascript template engine for Node.js and browsers.
- Dust.js by LinkedIn: Dust is a Javascript templating engine. It inherits its look from the ctemplate family of languages, and is designed to run asynchronously on both the server and the browser.
- Dōmo: dōmo lets you write HTML markup and CSS styles in JavaScript syntax. It is a simpler and easier alternative to template engines and CSS pre-processors.
- HyperScript: Create HyperText with JavaScript, on client or server.
- Marko: Marko is a really fast and lightweight HTML-based templating engine from eBay. Marko runs on Node.js and in the browser and it supports streaming, async rendering and custom tags.
- Mustache: Mustache is a Logic-less template language. There are no if statements, else clauses, or for loops. Instead there are only tags.
- Handlebars.js: Handlebars.js is an extension to the Mustache templating language. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
- Hogan.js: Hogan.js is a 3.4k JS templating engine developed at Twitter. It was developed against the mustache test suite.
- Mustache Specification: This document explains the different types of Mustache tags.
- Walrus: Walrus is a templating library inspired by mustache, handlebars, ejs and friends, but with a couple of important differences in philosophy and style.
- mustache.js: mustache.js is an implementation of the mustache template system in JavaScript.
- templayed.js: The fastest and smallest Mustache compliant Javascript templating library written in 1806 bytes.
- Nunjucks: A rich and powerful templating language for JavaScript.
- Pithy: An internal DSL for generating HTML in JavaScript.
- T: T.js is a template engine that uses simple Javascript data structure to represent html/xml data.
- Template7: Template7 is a mobile-first JavaScript template engine with Handlebars-like syntax. It is used as default template engine in Framework7.
- Transparency: Transparency is a minimal template engine for jQuery. It maps JSON objects to DOM elements with zero configuration.
- Weld: Weld binds data to markup, and can generate markup based on your data. There's no special syntax or data reshaping required.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Please provide a link back to this repository. This is not necessary for GitHub forks.