When comparing Pure.js vs squirrelly, the Slant community recommends Pure.js for most people. In the question“What are the best JavaScript templating engines?” Pure.js is ranked 28th while squirrelly is ranked 32nd. The most important reason people chose Pure.js is:
If a Javascript library is available in the page when it's loaded, Pure will automatically extend it to use it inside the templates.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Automatically extends JavaScript libraries available
If a Javascript library is available in the page when it's loaded, Pure will automatically extend it to use it inside the templates.
Pro Blazing Fast
In most templating benchmarks, Squirrelly equals or outperforms the speed of other templating engines.
Pro Rich and customizable features
Squirrelly supports custom helpers, partials, and filters.
Pro Not language-bound
Squirrelly isn't tied to a specific language, like HTML. That means that you can use it to generate files of all kinds, from Markdown to JavaScript to SVGs.
Pro No whitespace worries
Squirrelly is not whitespace sensitive.
Pro Super simple
Squirrelly has syntax like Mustache or Swig, and you can write your first template in a few minutes! It also works with ExpressJS right out of the box.
Cons
Con Injection not explicit in template
Looking at the template, we cannot see where content will be injected. Instead, all we see are empty tags.
Con Not enough separation
The controller knows too much about the template.
Con Not many reasources outside the official documentation
PureJS is not very popular and it's not used by many. Because of this, there are not many guides or tutorials out there for Pure.js other than the official documentation.