EJS Review

Ranked in these QuestionsQuestion Ranking

Pros

Pro

Complete JavaScript logic

EJS uses all the JS jargon and logic, so if you're proficient in JS, you can use EJS right away.

Pro

Same language before and after rendering

Your html/text remains pretty much the same before and after rendering. EJS filters out and performs its functions on any occurrences of its own <%= %> tags in your template.

Pro

Consistently scores rather well in benchmarks

According to some benchmark tests, EJS is way faster than Jade or Haml.

Pro

Powerful error handling

EJS has a really smart error handling mechanism built right into it. It points out to you, the line numbers on which an error has occurred, so that you don't end up looking through the whole template file wasting your time in searching for bugs.

Cons

Con

Cryptic syntax

Much more difficult to read, especially for designer/HTML people who don't write JavaScript.

Con

No support for block by default

EJS has no support for the block functionality which allows you to reuse pieces of templates across different files. Although it can be added to EJS through a third-party library.