Features
Squirrelly has a number of features that set it apart from the competition:
- It's faster than most templating engines
- It supports user-defined helpers and native helpers
- It supports filters
- It supports partials
- It supports custom tags (delimeters)
- 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 white-space sensitive
Feature | Squirrelly | Handlebars | Pug | Marko | Dust | Swig |
---|---|---|---|---|---|---|
Auto Escape | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Whitespace sensitive | No | No | Yes | No | No | No |
Content Type | All | All | HTML | HTML | All | All |