Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.14 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.14 KB

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.