Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 985 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 985 Bytes

@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.