Skip to main contentHomepage

CSP Guard

A Vite Plugin that handles your CSP needs

Typescript
Vite
Security
Open Source
Jan 1, 2025
CSP Guard

Bringing CSP to the Vite Ecosystem

npm version

npm downloads

npm weekly downloads

License

GitHub stars

I created Vite-Plugin-CSP-Guard to fill a gap in the Vite ecosystem - there was no active solution for handling CSP, and the only existing plugin was abandoned.

When moving from CRA to Vite, it became clear that front-end security was often overlooked, so I built a tool that makes CSP easy to implement.

I also wrote extensive documentation and guides ensure developers can adopt CSP with minimal friction.