Natural Templating.html (e.g. Thymeleaf) for Node.js

Is there a natural template for Node.js

Natural templates (for example, the Thymeleaf template engine ) is when a template page or part of it can be perfectly displayed by the browser as a prototype, without execution at all. That is, I have a template with the extension .html, and I can just open it in a browser to preview it and use standard HTML-dev tools for editing.

UPDATE: added response added in comment. (Are new StackOverflower users afraid to add answers?) Hope to hear from developers who actually use these things (just add a new answer)

+8
model-view-controller view templating thymeleaf
source share
3 answers

github.com/flatiron/plates (answered by generalhenry)

Slabs (short for templates) associates data with markup. Plates NO special syntax. It works in the browser and in Node.js.

Active

+2
source share

{{mustache}} (answered Etienne)

Logical patterns.

Available in Ruby, JavaScript, Python, Erlang, PHP, Perl, Objective-C, Java, .NET, Android, C ++, Go, Lua, ooc, ActionScript, ColdFusion, Scala, Clojure, Fantom, CoffeeScript, D and for node.js.

Works great with TextMate, Vim, Emacs, and Coda.

0
source share

I used Handlebars .

Actually there are quite a lot of template engines in JavaScript and here you can decide what you need.

-one
source share

All Articles