csp-typed-directives

Provides type information for all CSP directives and related headers' directives; as well as a basic utility funtion that helps convert the typed properties to the header content's policy string.

vite-plugin-csp

Create CSP meta tags and header configs from all sources in the final Vite html