For a javascript library for rendering html templates, the strongest matches are linkedin/dustjs (Dustjs is a comprehensive JavaScript template engine that natively), olado/dot (doT is a high-performance JavaScript template engine that supports) and mde/ejs (EJS is a versatile JavaScript templating engine that supports). pugjs/pug and wycats/handlebars.js round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Wir kuratieren Open-Source GitHub Repositories passend zu „best javascript template engine engines“. Die Ergebnisse sind nach Relevanz für deine Suche sortiert — nutze die Filter unten oder verfeinere die Suche mit KI.
Dustjs is a JavaScript templating engine and asynchronous template renderer. It functions as an isomorphic HTML generator, producing consistent output across both client and server environments. The system employs a logic-less template syntax to separate presentation from business logic, utilizing simple tags for iteration and conditional checks. It supports asynchronous data resolution, allowing the rendering process to pause and resume as external data sources respond. The engine provides capabilities for dynamic HTML generation, server-side rendering, and client-side templating. It utiliz
Dustjs is a comprehensive JavaScript template engine that natively supports both server-side and client-side rendering, logic-less syntax, and asynchronous data resolution, making it a perfect fit for your requirements.
doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both browser-based interfaces and Node.js server-side environments. It transforms template strings into executable JavaScript functions to produce text output across different runtime environments. The system focuses on pre-compiling template source files into standalone JavaScript modules at build time. This process eliminates runtime compilation overhead, increases execution speed, and prevents malicious code injection. The engine supports logic-based interpolation using conditional
doT is a high-performance JavaScript template engine that supports both server-side and client-side rendering, featuring build-time pre-compilation for optimal speed and isomorphic capabilities.
EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data into template files. It functions as both a server-side template processor and a client-side rendering engine, allowing for the creation of dynamic markup in both backend and frontend environments. The engine supports the creation of modular web layouts through partial template inclusion, where smaller reusable components are inserted into parent pages. Users can modify the template syntax by defining custom delimiters to avoid conflicts with other languages. The project cove
EJS is a versatile JavaScript templating engine that supports both server-side and client-side rendering, offering pre-compilation and partial template inclusion to handle dynamic HTML generation.
Pug is a template engine and compiler that transforms whitespace-sensitive shorthand syntax into standard HTML. It functions as both a Node.js template engine for server-side rendering and a browser-side precompiler for client-side templating. The system converts template files into executable JavaScript functions to increase rendering speed. This allows for the generation of full HTML documents by combining dynamic data and logical structures, either on a server or as standalone JavaScript files for execution directly in the browser. The engine manages the translation process through HTML t
Pug is a comprehensive template engine that supports both server-side and client-side rendering, offering pre-compilation and a robust syntax for generating dynamic HTML.
Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static templates with dynamic data. It functions as a logic-less template engine, separating presentation from business logic by restricting the complexity of expressions within templates. The project includes a precompiled template compiler that converts template strings into executable JavaScript functions. This mechanism reduces runtime overhead and improves rendering performance by shifting the compilation process to a build step. The engine provides a custom helper framework for ext
Handlebars.js is a widely-used, logic-less templating engine that supports both server-side and client-side rendering, includes pre-compilation for performance, and is designed specifically for generating dynamic HTML.
art-template is a JavaScript template engine and server-side rendering engine. It functions as an abstract syntax tree compiler that translates template source code into executable JavaScript to generate HTML or text output. The engine includes a template inheritance system that allows the definition of base layouts and reusable content blocks. It also provides a template debugging tool that maps syntax and runtime errors to exact line numbers within the source files.
art-template is a high-performance JavaScript template engine that supports both server-side and client-side rendering, featuring pre-compilation and a robust inheritance system that aligns perfectly with your requirements.
hogan.js is a logic-less template compiler and Mustache templating engine. It transforms static templates into executable JavaScript functions to generate data-driven strings without using conditional or looping logic. The system focuses on precompilation to eliminate parsing overhead during runtime execution. This includes a precompiled template library and a command line interface for converting template files into optimized JavaScript. The engine handles dynamic content generation through template compilation and data rendering. It supports reusable UI fragments via partials and allows fo
Hogan.js is a logic-less template engine that supports both client-side and server-side rendering through pre-compilation, making it a direct fit for your requirements.
Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by merging data objects with templates. It utilizes an abstract syntax tree parser to transform template strings into executable JavaScript functions. The system separates data from presentation by restricting complex logic to external helper functions rather than the template itself. It features a precompiled template compiler that converts templates into functions before deployment to increase execution speed and reduce startup latency. The engine covers a broad range of content ge
Handlebars.js is a comprehensive, industry-standard template engine that supports both server-side and client-side rendering, logic-less syntax, and pre-compilation for optimized performance.
Nunjucks is a JavaScript templating engine used for generating dynamic HTML by combining data with templates. It serves as an asynchronous template processor that allows for non-blocking execution within filters and parallel processing of iterations. The engine features a template inheritance system where base skeleton structures are defined and extended by child templates to fill specific content blocks. It includes a security utility for context-aware HTML escaping to prevent cross-site scripting during the rendering phase. The library provides capabilities for server-side rendering and da
Nunjucks is a comprehensive JavaScript templating engine that supports both server-side and client-side rendering, featuring asynchronous processing, template inheritance, and pre-compilation capabilities.
Petite-vue is a lightweight, client-side reactive UI library and templating engine designed for progressive enhancement. It serves as a minimal state management tool that binds reactive data to DOM elements, allowing user interfaces to update automatically when state changes without requiring a full build step. The framework specifically focuses on adding interactivity to server-rendered HTML. It allows for the creation of isolated reactive regions and embedded widgets on a single page, using custom delimiters to prevent syntax conflicts with server-side template engines. The system covers r
Petite-vue is a client-side templating engine that binds reactive data directly to HTML, making it a suitable tool for progressive enhancement and dynamic rendering even though it is more specialized than a general-purpose server-side engine.
Mustache.js is a logic-less JavaScript templating engine and implementation of the Mustache specification. It merges data objects with text templates to generate formatted output, ensuring consistent rendering across different programming languages by forbidding complex logic within the templates. The system distinguishes itself by using a logic-less approach to data binding, relying on simple variable interpolation and conditional block rendering. It supports modularity through partial template inclusion and allows for extended functionality via lambda functions that transform blocks of temp
Mustache.js is a classic logic-less template engine that supports both server-side and client-side rendering, though it lacks built-in support for asynchronous rendering or pre-compilation features.
art-template is a JavaScript templating engine and HTML template compiler that transforms custom syntax and script statements into optimized HTML output. It functions as a precompiled template engine that converts template source into standalone JavaScript functions to render dynamic content from data. The engine features a template inheritance framework that organizes layouts through nesting, blocks, and inclusions to create reusable components across multiple files. It incorporates automatic output sanitization and encoding to prevent cross-site scripting attacks. The system includes capab
This is a high-performance JavaScript template engine that supports both server-side and client-side rendering through pre-compilation, making it a direct fit for your requirements.
1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.
This is a lightweight JavaScript template engine that supports both client-side and server-side rendering, making it a direct fit for your requirements despite its minimal, dependency-free approach.
| Repository | Stars | Sprache | Lizenz | Letzter Push |
|---|---|---|---|---|
| linkedin/dustjs | 2.9K | JavaScript | mit | |
| olado/dot | 5K | JavaScript | NOASSERTION | |
| mde/ejs | 8.1K | JavaScript | Apache-2.0 | |
| pugjs/pug | 21.9K | JavaScript | — | |
| wycats/handlebars.js | 18.7K | JavaScript | MIT | |
| aui/art-template | 9.9K | JavaScript | MIT | |
| twitter/hogan.js | 5.1K | JavaScript | Apache-2.0 | |
| handlebars-lang/handlebars.js | 18.6K | JavaScript | MIT | |
| mozilla/nunjucks | 9K | JavaScript | BSD-2-Clause | |
| vuejs/petite-vue | 9.7K | TypeScript | MIT |