sri

Subresource Integrity hash generator

  • sri

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
sri
1.1.09 years ago9 years agoMinified + gzip package size for sri in KB

Readme

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...