Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including handlebars-subresource-integrity with all npm packages installed. Try it out:

var handlebarsSubresourceIntegrity = require("handlebars-subresource-integrity")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

handlebars-subresource-integrity v1.0.0

Handlebars helper - Generate string with base64-encoded sha384 hash

Handlebars Subresource Integrity Build Status

Handlebars helper - Generate string with base64-encoded sha384 hash

How to Use

{{subresource-integrity string}}


  • string :: String


{{subresource-integrity "console.log('Hello World')"}}


This is a Node.js module available through the npm registry. It can be installed using the npm or yarn command line tools.

npm install handlebars-subresource-integrity --save

Dev Dependencies

  • handlebars: Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
  • mocha: simple, flexible, fun test framework



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free