10 Best JavaScript HTML Templating Engine Libraries

List hand-picked by Openbase Experts
Learn More

liq

liquidjs

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
3
Top Feedback
N/A
GitHub Stars
846
Weekly Downloads
154K
Last Commit
3mos ago
ejs

ejs

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

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.2/ 5
19
Top Feedback
13Easy to Use
10Great Documentation
7Performant
GitHub Stars
6K
Weekly Downloads
11M
Last Commit
4mos ago
mus

mustache

Minimal templating with {{mustaches}} in JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
21
Top Feedback
1Poor Documentation
1Hard to Use
GitHub Stars
15K
Weekly Downloads
3M
Last Commit
9mos ago

eta

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
421
Weekly Downloads
116K
Last Commit
4mos ago

handlebars

Minimal templating on steroids.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.1/ 5
39
Top Feedback
13Great Documentation
11Easy to Use
9Performant
GitHub Stars
16K
Weekly Downloads
10M
Last Commit
2mos ago

marko

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
5
Top Feedback
N/A
GitHub Stars
11K
Weekly Downloads
4K
Last Commit
2mos ago

jade

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
TypeScript Icon
Deprecated
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
21K
Weekly Downloads
443K
Last Commit
6mos ago

pug

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.1/ 5
96
Top Feedback
8Great Documentation
7Easy to Use
4Highly Customizable
GitHub Stars
21K
Weekly Downloads
1M
Last Commit
6mos ago

nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)

License Icon
License: BSD-2-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
5
Top Feedback
2Great Documentation
2Easy to Use
2Performant
GitHub Stars
8K
Weekly Downloads
407K
Last Commit
1yr ago
rem

remixml

Remixml: XML/HTML-like macro language/template engine

License Icon
License: (ISC OR GPL-3.0)
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
N/A
Weekly Downloads
152
Last Commit
1yr ago

squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
405
Weekly Downloads
12K
Last Commit
1yr ago

@beforesemicolon/html-plus

HTML Template System and Site Builder

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
5
Weekly Downloads
26
Last Commit
5mos ago
me

mustache-express

Use mustache, including partials, in Express 3

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
65
Weekly Downloads
21K
Last Commit
5mos ago
dot

dot

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
343K
Last Commit
1yr ago
sce

scetch

Another templating engine, but with a twist!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
24
Last Commit
3mos ago

swig-templates

Take a swig of the best template engine for JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
204
Weekly Downloads
15K
Last Commit
4mos ago
eej

express-engine-jsx

JSX engine for ExpressJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
36
Last Commit
8mos ago
tj

template-jsx

Template rendering engine for JSX

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
102
Weekly Downloads
19
Last Commit
8mos ago
vas

vash

Vash, the 60 billion double-dollar template-maker. Razor syntax, for JavaScript templates

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
520
Weekly Downloads
1K
Last Commit
2yrs ago
cor

@proact/core

Proact is an template engine for node js which renders React like jsx functional components to static HTML or XML.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
100
Last Commit
1yr ago