Skip to content

frux/csp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f1ac23 · Mar 8, 2025
Nov 19, 2024
Mar 8, 2025
Mar 20, 2021
Nov 14, 2024
Mar 26, 2021
Aug 19, 2023
Nov 14, 2024
Mar 8, 2025
Dec 2, 2021
Nov 14, 2024
Nov 14, 2024
Mar 8, 2025
Mar 8, 2025
Nov 14, 2024
Nov 14, 2024

Repository files navigation

CSP

Hear is a couple of libraries to work with Content-Security-Policy in your JavaScript application.


NPM version NPM downloads

Zero-dependency library for generating CSP policies. It can be used for both HTTP header and <meta> element. Supports presets for organizing and managing your policies.


NPM version NPM downloads

This is a csp-header wrapped in a middleware with auto-tld support and nonce generation. It's ready to use in your Express application.