Install
npm install --save handlebars-helper-sri
Usage
Attach the helper to handlebars
:
var handlebars = ; handlebars = ;
Then, call the helper from your Handlebars template:
Caching
You may wish to attach a custom subresource instance, for pre-load caching:
var handlebars = ;var subresource = ; "../public/script.js" "../public/style.css"; handlebars = ;