Package
csp-html-webpack-plugin
A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 29.7k
- -35% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 5 years ago
- v5.1.0
- GitHub stars
- 172
- 40 forks
- Open issues / PRs
- 12 / 16
- Contributors
- -
- Commits, last 52 weeks
- 3
Downloads
Last week 2026-09-15 to 2026-09-21
29,726 downloads last week, 150,789 in the last month. The 12-month change of -35% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.1.0, 12 Jan 20215 years ago
- First published
- -
- Last push to GitHub
- 2 Jun 2026114 days before the snapshot
- Repository archived
- No
- Open issues
- 12
- Open pull requests
- 16
- Commits, last 52 weeks
- 3
- Dependents on npm
- 15
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 71 kB
- Dependencies (2)
lodashcheerio- Peer dependencies (2)
webpackhtml-webpack-plugin
npm install csp-html-webpack-plugin- jsDelivr
https://cdn.jsdelivr.net/npm/csp-html-webpack-plugin@5.1.0/ - unpkg
https://unpkg.com/csp-html-webpack-plugin@5.1.0/ - esm.sh
https://esm.sh/csp-html-webpack-plugin@5.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vuepress-html-webpack-plugin | 36.8k | - | 8 years ago | CommonJS | - |
| duplicate-package-checker-webpack-plugin | 113.2k | - | 8 years ago | CommonJS | - |
| wrapper-webpack-plugin | 21.9k | - | 4 years ago | CommonJS | - |
| duplicate-dependencies-webpack-plugin | 11.6k | - | 4 years ago | CommonJS | - |
| html-render-webpack-plugin | 5k | - | 3 years ago | CommonJS | - |
| webpack-subresource-integrity | 3.9m | - | 3 years ago | ESM + CommonJS | - |
| clean-webpack-plugin | 1.6m | - | 5 years ago | CommonJS | - |
| warnings-to-errors-webpack-plugin | 67.9k | - | 4 years ago | CommonJS | - |
Indexability: Indexed.