1.1.0 • Published 9 years ago
sri v1.1.0
sri
Subresource Integrity hash generator
Installation
$ npm i sri
Usage
const sri = require('sri');
const sriString = sri.getSRIString('file.js'); // sha384-J5Dqvq3...
Subresource Integrity hash generator
$ npm i sri
const sri = require('sri');
const sriString = sri.getSRIString('file.js'); // sha384-J5Dqvq3...