Skip to content
JS
Package

strict-csp-html-webpack-plugin

A webpack plugin that adds a hash-based strict CSP to help protect your site against XSS attacks.

v1.0.2, 10 Jan 2022Apache-2.0CommonJSTypes: NoneSecurity
$ npm install strict-csp-html-webpack-plugin

Key numbers

As of 25 Sept 2026
Weekly downloads
2.3k
-16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v1.0.2
GitHub stars
49
11 forks
Open issues / PRs
20 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 4.7k (21 Apr 2026)Low 687 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,278 downloads last week, 8,212 in the last month. The 12-month change of -16% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.2, 10 Jan 20224 years ago
First published
-
Last push to GitHub
16 Sept 2025373 days before the snapshot
Repository archived
No
Open issues
20
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
0

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)
11 kB
Dependencies (1)
strict-csp
npm install strict-csp-html-webpack-plugin
  • jsDelivrhttps://cdn.jsdelivr.net/npm/strict-csp-html-webpack-plugin@1.0.2/
  • unpkghttps://unpkg.com/strict-csp-html-webpack-plugin@1.0.2/
  • esm.shhttps://esm.sh/strict-csp-html-webpack-plugin@1.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
csp-header114.8k-21 days agoESM + CommonJS-
helmet-csp416.3k-2 months agoCommonJS-
csp-toolkit17.3k-5 months agoESM + CommonJS-
vite-plugin-csp-guard17.9k-5 months agoESM only-
express-csp-header16.3k-21 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2278 < 10000.