Skip to content
JS
Package

feature-policy

Middleware to set the Feature-Policy HTTP header

v0.6.0, 23 Dec 2020MITCommonJSTypes: BundledSecurityHTTP servers and web frameworks
$ npm install feature-policy

Key numbers

As of 25 Sept 2026
Weekly downloads
336.5k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v0.6.0
GitHub stars
15
8 forks
Open issues / PRs
0 / 3
Contributors
-
Commits, last 52 weeks
14

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 472.6k (23 Jun 2026)Low 176.2k (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.

336,517 downloads last week, 1,605,895 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
0.6.0, 23 Dec 20205 years ago
First published
9 Oct 2018
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
3
Commits, last 52 weeks
14
Dependents on npm
9

Major versions

  1. v0 first release 0.1.0, 9 Oct 2018

Recent releases

VersionPublished
0.6.023 Dec 2020
0.5.016 Apr 2020
0.4.01 Sept 2019
0.3.05 May 2019
0.2.07 Nov 2018
0.1.09 Oct 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=8.0.0
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
npm install feature-policy
  • jsDelivrhttps://cdn.jsdelivr.net/npm/feature-policy@0.6.0/
  • unpkghttps://unpkg.com/feature-policy@0.6.0/
  • esm.shhttps://esm.sh/feature-policy@0.6.0
PackageWeekly downloadsGzipLast releaseModuleComparison
permissions-policy11.9k-5 years agoCommonJS-
cors58m-8 months agoCommonJS-
corser5.1m-10 years agoCommonJS-
recaptcha29.5k-7 years agoCommonJS-
express-xss-sanitizer12.1k-6 months agoCommonJS-
express-sanitizer10.8k-5 years agoCommonJS-
express-caja-sanitizer25.1k-10 years agoCommonJS-
express-rate-limit45.1m-27 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.