JSPM

  • Created
  • Published
  • Downloads 35042411
  • Score
    100M100P100Q223720F
  • License CC0-1.0

Simple Subresource Integrity library -- generates, parses, and unparses integrity strings.

Package Exports

  • ssri

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ssri) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ssri npm version license Travis AppVeyor Coverage Status

ssri, short for Simple Subresource Integrity, is a Node.js utility for parsing, unparsing, and generating Subresource Integrity hashes.

Install

$ npm install --save ssri

Table of Contents

Example

const ssri = require('ssri')
// TODO

Features

  • Parses and unparses SRI strings.
  • Generates SRI strings from direct data or Streams.
  • Optional use of reserved option expression syntax

Contributing

The ssri team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

API