JavaScript utilities with respect to emerging standard
Evaluate Content Security Policies for a wide range of bypasses and weaknesses
Replaces a file extension with another one.
Content-Security-Policy header generator
Get the file extension and MIME type from a file
**This repository is deprecated. For the latest features, bug fixes, and more, visit [Courier React SDK documentation](https://www.courier.com/docs/sdk-libraries/courier-react-web) or upgrade using the [v8 Migration Guide](https://www.courier.com/docs/sdk
A React hook wrapper for Merge Link.
A comprehensive toolkit for working with Content Security Policy (CSP) directives in TypeScript.
List of known file extensions and their MIME types
A set of efficient utilities that extend the use of JSON (streaming, estimate size, NDJSON/JSONL, etc.)
A library that calculates the CSP hash for amp-script
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.
ECMAScript extensions and shims
Timers extensions
Auto-resizing Input Component for React
A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output
returns nonce
MCP Apps SDK — Enable MCP servers to display interactive user interfaces in conversational clients.
A Vite plugin that lets SPA applications generate a Content Security Policy (CSP).
Parse Content Security Policy directives.
Enables a hash-based strict Content Security Policy for static HTML files and single page applications.
I/O module to add cross browser csp headers to http response
Create CSP meta tags and header configs from all sources in the final Vite html
Use a nonce for the script-src and style-src directives of your Content Security Policy.