Shameless Self Promo: I wrote a template engine called Squirrelly. It has a syntax similar to Handlebars and Mustache, but is quite a bit faster and more lightweight, and I feel that the syntax is slightly less confusing as well.
That being said, apart from that, I like Handlebars and doT
At work, we use to dust.js (github.com/linkedin/dustjs) because we've needed performance and Dust.js was a best choice for us.
Handlebars & Pug both are great. Handlebars for the simple layout. When the layout gets more complex, requires some logic, I would use Pug.
Depends on your criteria. Personally, I like Jade/Pug.
steroid uses tagged template literals to build a Node stream you can pipe to the http.ServerResponse .
Because of it, you don't need to learn a new template engine syntax. Just javascript and is stremeable 😊
I prefer EJS over other templating engines. It just injects value into the html templates like PHP & JSP do to render html pages with values.
I like EJS, and used it in my "MEH..." Stack. ;)
edge.adonisjs.com its like blade(from laravel) for nodejs
there is also handlebars widly used
here some stats: npmcompare.com/compare/dust,handlebars,marko,must…
the best is what fits your needs and fast ;O
Not saying it's the "best", but I prefer Handlebars over the rest. (Honestly I avoid using a server-side templating engine as much as possible.)
Jade/Pug is dumb; why would I want to learn another markup language that adds little to no extra value over HTML? Handlebars is cleaner than EJS too, I'd say. And it's more capable than Mustache.
Mirko Vukušić
Full(stack|dev|life)
Amr Ramadan
There is no such thing as the best tool you need to choose one based on your use and needs, so here is an awesome blog that can help brief you about current template engines: shieldfy.io/blog/template-engines-nodejs-develope…