Package
csp-typed-directives
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.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 12.8k
- +102% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v1.1.10
- GitHub stars
- 12
- 2 forks
- Open issues / PRs
- 0 / 8
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
12,803 downloads last week, 74,988 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.1.10, 12 Apr 20233 years ago
- First published
- -
- Last push to GitHub
- 2 Apr 2026175 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 8
- Commits, last 52 weeks
- 0
- Dependents on npm
- 2
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 86 kB
- Dependencies (0)
- None
npm install csp-typed-directives- jsDelivr
https://cdn.jsdelivr.net/npm/csp-typed-directives@1.1.10/ - unpkg
https://unpkg.com/csp-typed-directives@1.1.10/ - esm.sh
https://esm.sh/csp-typed-directives@1.1.10
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @n8n/expression-runtime | 154.3k | - | 8 days ago | ESM + CommonJS | - |
| @cerbos/core | 69.3k | - | 9 days ago | ESM only | - |
| @cerbos/api | 55.4k | - | 9 days ago | ESM only | - |
| @cerbos/grpc | 39.2k | - | 9 days ago | ESM only | - |
| permix | 15.4k | - | 10 days ago | ESM only | - |
| @cerbos/hub | 13.4k | - | 9 days ago | ESM only | - |
| nestjs-doctor | 9.8k | - | 12 days ago | ESM only | - |
| sql-escaper | 4.8m | - | 11 days ago | ESM + CommonJS | - |
Indexability: Indexed.