node.js - Which express templating engine should I use for simple code examples? -


i'm writing example code using node , express, targeted @ beginner intermediate front end developers (not node.js or express developers). plug , play code allows beginner dev right html, css , behavioral javascript, , host on simple hosting solution heroku.

i need recommendation express compatible templating language light , simple understand.

i need:

  • variables embedded in template.
  • loops , if statements embedded in template.

i want avoid:

  • unusual syntax (jade).
  • files not named .html (like mustache).
  • unusual looking configuration (for example force mustache use .html extension).

i need basic. should role own, or there lightweight, support third party solution should aware of?

i check out ejs. pretty decent , easy use. compatible angular. go , forth using ejs , dust.

ejs forgiving , easy started.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -