{"library":"webpack-subresource-integrity","type":"library","category":null,"description":"Webpack plugin for enabling Subresource Integrity (SRI) to protect against compromised CDN resources. Current stable version is 5.1.0, with release candidate 5.2.0-rc.1 available. The plugin supports Webpack 5.12+ and html-webpack-plugin 5+, and now provides an ES module distribution alongside CommonJS. Key differentiators include integration with html-webpack-plugin for automatic integrity injection, lazy hash loading option for larger projects, and TypeScript type definitions.","language":"javascript","status":"active","version":"5.2.0-rc.1","tags":["javascript","webpack","plugin","sri","subresource","integrity","html-webpack-plugin","typescript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webpack-subresource-integrity","imports":["import { SubresourceIntegrityPlugin } from 'webpack-subresource-integrity'","const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity')","new SubresourceIntegrityPlugin({ hashFuncNames: ['sha384'], enabled: 'auto' })"]},{"cmd":"yarn add webpack-subresource-integrity","imports":[]},{"cmd":"pnpm add webpack-subresource-integrity","imports":[]}],"homepage":null,"github":"https://github.com/waysact/webpack-subresource-integrity","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-subresource-integrity","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}