10 Best JavaScript HTML Templating Engine Libraries

List hand-picked by Openbase Experts
Learn More

liq

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

230K
1.1K
Built-in
MIT
ejs

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

11.2M
6.7K
DefinitelyTyped
Apache-2.0
mus

Minimal templating with {{mustaches}} in JavaScript

3.1M
15.5K
DefinitelyTyped
MIT
eta

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

264K
697
Built-in
MIT
pug

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

1.3M
20.8K
DefinitelyTyped
MIT
nunjucks

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

456K
8K
DefinitelyTyped
BSD-2-Clause
marko

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

6.5K
12.1K
DefinitelyTyped
MIT
squirrelly

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

17.4K
434
Built-in
MIT
rem

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

150
3
No support
(ISC OR GPL-3.0)
dot

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

432K
4.9K
DefinitelyTyped
MIT
me

Use mustache, including partials, in Express 3

17.2K
65
DefinitelyTyped
MIT
swig-templates

Take a swig of the best template engine for JavaScript.

10.1K
207
No support
MIT
vas

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

1.9K
522
No support
sce

Another templating engine, but with a twist!

5
2
No support
MIT
eej

JSX engine for ExpressJS

29
26
Built-in
MIT
cor

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

27
0
No support
MIT
@beforesemicolon/html-plus

HTML Template System and Site Builder

17
6
No support
MIT
meml

My attemt at creating a basic meml interpreter

1
9
No support
GPL-3.0-or-later
tj

Template rendering engine for JSX

1
101
Built-in
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.