JavaScript Templating Engines

Open-source JavaScript projects categorized as Templating Engines

Top 12 JavaScript Templating Engine Projects

  • Jade

    Pug – robust, elegant, feature rich template engine for Node.js

    Project mention: Just Normal Web Things | news.ycombinator.com | 2023-08-05

    The right way to start is with HTML and motherfucking web site.

    https://motherfuckingwebsite.com/

    Really. At this point this is what web sites should strive to be.

    Pug is a great way to write HTML by hand. I integrated it with GitHub Pages so pug sources get compiled to HTML and published when commits are pushed. Great experience.

    https://pugjs.org/

    https://github.com/pugjs/pug

  • handlebars.js

    Minimal templating on steroids.

    Project mention: Is there a library that offers _just_ the variable syntax from Razor? | /r/dotnet | 2023-09-08

    Id use handlerbars JS - https://handlebarsjs.com/

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • mustache.js

    Minimal templating with {{mustaches}} in JavaScript

    Project mention: Hand Coded SLisp | news.ycombinator.com | 2023-08-22

    I also enjoy simple templating engines. It makes it far easier to reason about a template and mentally step-through it. For existing art, there are:

    DustJS which is a "logic-less" template engine (just loops and simple if-statements): https://github.com/linkedin/dustjs

    and there is also mustache, which is very similar: https://mustache.github.io/

    Personally, I've re-implemented DustJS in rust but its still a very alpha project: https://code.fizz.buzz/talexander/duster

  • eleventy 🕚⚡️

    A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

    Project mention: Eleventy Style Guide Generator with WebC Component Support | dev.to | 2023-08-04

    I’d ideally like this to be an Eleventy plugin that can be installed on an Eleventy site, rather than a full Eleventy site in itself. As far as I can tell there’s not a way to do so until Virtual Templates are made available.

  • marko

    A declarative, HTML-based language that makes building web apps fun

    Project mention: The Best UI Libraries for Cross-Platform Apps with Tauri | dev.to | 2023-08-04

    SolidJS and Tauri form another potent combination for creating performant, lightweight, and secure experiences. SolidJS is a reactive UI library that is similar to Svelte in the way it compiles away reactivity and updates the DOM directly, but it also incorporates a fine-grained reactivity system reminiscent of libraries like Marko, Knockout, and MobX.

  • EJS

    Embedded JavaScript templates -- http://ejs.co

  • hogan.js

    A compiler for the Mustache templating language

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • doT

    The fastest + concise javascript template engine for nodejs and browsers. Partials, custom delimiters and more.

  • dustjs

    Asynchronous Javascript templating for the browser and server

    Project mention: Hand Coded SLisp | news.ycombinator.com | 2023-08-22

    I also enjoy simple templating engines. It makes it far easier to reason about a template and mentally step-through it. For existing art, there are:

    DustJS which is a "logic-less" template engine (just loops and simple if-statements): https://github.com/linkedin/dustjs

    and there is also mustache, which is very similar: https://mustache.github.io/

    Personally, I've re-implemented DustJS in rust but its still a very alpha project: https://code.fizz.buzz/talexander/duster

  • Inky

    Convert a simple HTML syntax into tables compatible with Foundation for Emails. (by foundation)

  • xtemplate

    eXtensible Template Engine lib for node and the browser

  • EHTML

    HTML Framework that allows you not to write JavaScript code.

    Project mention: GitHub - Guseyn/EHTML: HTML Framework that allows you not to write JavaScript code. | /r/javascriptFrameworks | 2023-04-10
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-08.

JavaScript Templating Engines related posts

Index

What are some of the best open-source Templating Engine projects in JavaScript? This list will help you:

Project Stars
1 Jade 21,344
2 handlebars.js 17,415
3 mustache.js 16,050
4 eleventy 🕚⚡️ 15,091
5 marko 12,811
6 EJS 7,275
7 hogan.js 5,139
8 doT 4,929
9 dustjs 2,916
10 Inky 663
11 xtemplate 558
12 EHTML 174
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com