Does it only work with HTML?

It works with HTML, but you can also use it to generate templates of any language, like Markdown.

How big is Eta?

Eta is about 2KB gzipped, which is quite lightweight for a template engine library.

Why should I use Eta instead of another template engine like Handlebars or Pug?

Eta has a number of features that set it apart from the competition:

  • It's significantly faster than most templating engines
  • It supports plugins
  • It has great file handling
  • It's incredibly lightweight: in comparison: the full version only weighs about 2 KB gzipped, compared to Pug's 237 KB and Handlebars' 21.5 KB
  • It works with other languages than HTML
  • It's not whitespace sensitive

For more information, see Why Eta?