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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i sri

      Weekly Downloads

      1,165

      Version

      1.1.0

      License

      MIT

      Last publish

      Collaborators

      • roman01la