npm.io
1.1.0 • Published 11 years ago

sri

Licence
MIT
Version
1.1.0
Deps
0
Vulns
0
Weekly
0

sri

Subresource Integrity hash generator

What's Subresource Integrity?

Installation

$ npm i sri

Usage

const sri = require('sri');

const sriString = sri.getSRIString('file.js'); // sha384-J5Dqvq3...

Keywords