panto-transformer-integrity

0.2.4 • Public • Published

panto-transformer-integrity

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Integrity transformer for panto.

panto.loadTransformer('integrity');
 
panto.pick('**/*.{css,js}').read().integrity({
    algorithm: 'sha256',
    ignoreError: true
});

options

  • algorithm: string, could be one of "sha256","sha384","sha512", depends on the openssl installed
  • ignoreError: boolean, if fail when error

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.4
    1
    • latest

Version History

Package Sidebar

Install

npm i panto-transformer-integrity

Weekly Downloads

1

Version

0.2.4

License

Apache-2.0

Last publish

Collaborators

  • yinyongcom666