Get unlimited public & private packages + team-based management with npm Teams.Learn more »

sri

1.1.0 • Public • Published

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

Install

npm i sri

DownloadsWeekly Downloads

2,250

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar