csp-typed-directives (npm): 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.
Keywords: CSP|CSPs|content-security-policy|header|security|generate|directive|types|typescript