Subresource integrity hashes generator
npm install subresource-integritybash
$ npm install --save subresource-integrity
`Usage
`js
const hash = sri('', ['sha384', 'sha512'])
`API
$3
Returns generated SRI hash(es).####
data
Type: string
Data to encode####
algorithms
Type: string|Array
SHA algorithms to encode withLicense
Copyright 2016 Romain Vanesyan.
The subresource-integrity` is primary distributed under the terms of the [MIT] license.[travis-badge]: https://img.shields.io/travis/vanesyan/node-sri/master.svg
[travis-url]: https://travis-ci.org/vanesyan/node-sri
[npm]: https://npmjs.org/
[MIT]: ./LICENSE