Skip to content
JS
Package

@next-safe/middleware

Strict Content-Security-Policy (CSP) for Next.js with composable middleware

v0.10.0, 2 Aug 2022MITESM + CommonJSTypes: BundledSecurityStatic site generators and meta-frameworks
$ npm install @next-safe/middleware

Key numbers

As of 25 Sept 2026
Weekly downloads
49.1k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v0.10.0
GitHub stars
86
19 forks
Open issues / PRs
23 / 5
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

49,082 downloads last week, 172,396 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.10.0, 2 Aug 20224 years ago
First published
-
Last push to GitHub
29 May 20231,214 days before the snapshot
Repository archived
No
Open issues
23
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
293 kB
Dependencies (2)
cheeriolockfile
Peer dependencies (2)
nextreact
npm install @next-safe/middleware
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@next-safe/middleware@0.10.0/
  • unpkghttps://unpkg.com/@next-safe/middleware@0.10.0/
  • esm.shhttps://esm.sh/@next-safe/middleware@0.10.0
PackageWeekly downloadsGzipLast releaseModuleComparison
nextjs-cors56.2k-10 months agoESM + CommonJS-
isomorphic-dompurify4m-5 days agoESM + CommonJS-
astro-remote7.7k-1 year agoESM only-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.