Skip to content
JS
Package

strict-csp

Enables a hash-based strict Content Security Policy for static HTML files and single page applications.

v1.1.2, 3 Sept 2025Apache-2.0CommonJSTypes: BundledSecurity
$ npm install strict-csp

Key numbers

As of 25 Sept 2026
Weekly downloads
3.6k
+60% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v1.1.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
05k10k15kSept 2025Mar 2026Sept 2026High 11.3k (17 Mar 2026)Low 863 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,586 downloads last week, 20,027 in the last month. The 12-month change of +60% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.2, 3 Sept 20251 year 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
2

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (2)
cheerio@types/cheerio
npm install strict-csp
  • jsDelivrhttps://cdn.jsdelivr.net/npm/strict-csp@1.1.2/
  • unpkghttps://unpkg.com/strict-csp@1.1.2/
  • esm.shhttps://esm.sh/strict-csp@1.1.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 3586 < 10000.