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
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- jsDelivr
https://cdn.jsdelivr.net/npm/@next-safe/middleware@0.10.0/ - unpkg
https://unpkg.com/@next-safe/middleware@0.10.0/ - esm.sh
https://esm.sh/@next-safe/middleware@0.10.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| nextjs-cors | 56.2k | - | 10 months ago | ESM + CommonJS | - |
| isomorphic-dompurify | 4m | - | 5 days ago | ESM + CommonJS | - |
| astro-remote | 7.7k | - | 1 year ago | ESM only | - |
Indexability: Indexed.