Skip to content
/ csp Public

A library for working with and configuring Content Security Policy (CSP) headers. Compatible with browsers, Deno, Node.js, Bun and Cloudflare Workers.

License

Notifications You must be signed in to change notification settings

erictaylor/csp

Repository files navigation

@erictaylor/csp

A library for working with and configuring Content Security Policy (CSP) headers.

Getting Started

Supported Runtime

This library is designed to be runtime agnostic and work in browsers (Chrome, Safari, Firefox, Edge), Deno, Node.js, Bun, and Cloudflare Workers.

Installation

# Deno
deno add jsr:@erictaylor/csp
# NPM
npx jsr add @erictaylor/csp
# PNPM
pnpx jsr add @erictaylor/csp
# Yarn
yarn dlx jsr add @erictaylor/csp
# Bun
bunx jsr add @erictaylor/csp

Contributing

Code contributions are welcome! Please refer to the CONTRIBUTING.md file for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A library for working with and configuring Content Security Policy (CSP) headers. Compatible with browsers, Deno, Node.js, Bun and Cloudflare Workers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published