vite-plugin-csp

JSON →
library 1.1.2 ·javascript maintenance
verified Apr 27, 2026

A Vite plugin that generates Content Security Policy meta tags and HTTP headers (CSP, CSP Report-Only, Report-To, Referrer-Policy) from all sources in the final HTML. Current stable version is 1.1.2 (June 2022). Uses csp-typed-directives for typed CSP directives. Compatible with csp-html-webpack-plugin configuration. No official releases since 2022; project appears in maintenance mode. Key differentiators: automated policy generation from Vite build output, TypeScript support, and header validation.

total hits 16
actors 5 distinct systems
last hit 7d ago human
GPTBot
5
MetaBot
3
Search engines
2
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇫🇷 France