Installation

A guide to installing Squirrelly

With NPM

npm install --save squirrelly

After the install is finished, accessing Squirrelly is as simple as:

var Sqrl = require('squirrelly')

Squirrelly is also available and works on Yarn.

With a CDN

All of the following methods make Squirrelly available through the global object Sqrl.

If you need to compile templates in the browser, use the full version. For best performance, though, Compile your templates into functions first and include them in the JavaScript of your site, and include just the runtime.

Full Version

Minified

<script src="https://unpkg.com/squirrelly@latest/dist/squirrelly.min.js"></script>

Development

<script src="https://unpkg.com/squirrelly@latest/dist/squirrelly.dev.js"></script>

Runtime

Minified

Development

Last updated