Skip to content
JS
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.

v1.1.10, 12 Apr 2023MITESM + CommonJSTypes: BundledSecurityTypeScript tooling
$ npm install csp-typed-directives

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
010k20k30kSept 2025Mar 2026Sept 2026High 27.9k (25 Aug 2026)Low 5.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/csp-typed-directives@1.1.10/
  • unpkghttps://unpkg.com/csp-typed-directives@1.1.10/
  • esm.shhttps://esm.sh/csp-typed-directives@1.1.10
PackageWeekly downloadsGzipLast releaseModuleComparison
@n8n/expression-runtime154.3k-8 days agoESM + CommonJS-
@cerbos/core69.3k-9 days agoESM only-
@cerbos/api55.4k-9 days agoESM only-
@cerbos/grpc39.2k-9 days agoESM only-
permix15.4k-10 days agoESM only-
@cerbos/hub13.4k-9 days agoESM only-
nestjs-doctor9.8k-12 days agoESM only-
sql-escaper4.8m-11 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.