Package
vite-plugin-csp
Create CSP meta tags and header configs from all sources in the final Vite html
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 11.8k
- +104% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 4 years ago
- v1.1.2
- GitHub stars
- 24
- 0 forks
- Open issues / PRs
- 2 / 9
- Contributors
- -
- Commits, last 52 weeks
- 7
Downloads
Last week 2026-09-15 to 2026-09-21
11,800 downloads last week, 75,255 in the last month. The 12-month change of +104% 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, 1 Jun 20224 years ago
- First published
- -
- Last push to GitHub
- 12 Sept 202612 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 9
- Commits, last 52 weeks
- 7
- Dependents on npm
- 1
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 136 kB
- Dependencies (4)
cheeriocss-tree@rollup/pluginutilscsp-typed-directives- Peer dependencies (1)
vite
npm install vite-plugin-csp- jsDelivr
https://cdn.jsdelivr.net/npm/vite-plugin-csp@1.1.2/ - unpkg
https://unpkg.com/vite-plugin-csp@1.1.2/ - esm.sh
https://esm.sh/vite-plugin-csp@1.1.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vite-plugin-sri-gen | 5.4k | - | 22 days ago | ESM only | - |
Indexability: Indexed.