What Template Engine to Use with Express?

Posted in Articles

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

If I google …

What is the best template engine for Express?

What is the most popular templating engine for Express?


I get very mixed results and seem to be more developer preference.

That is because with the consolidate module, you can use a whole bunch of templating engines.

We have a tutorial on using Express with Swig

and a tutorial on using Express with ejs.

Others use Jade, nunjucks, handlebars, mustache, etc.  See all the templating engines supported by consolidate.

A good comparison is here

And the Express website lists some popular ones here.

For me, I seem to have a preference for mustache.