Skip to content
JS
Package

x-xss-protection

Middleware to disable the X-XSS-Protection header

v2.0.0, 2 Aug 2020MITCommonJSTypes: BundledSecurity
$ npm install x-xss-protection

Key numbers

As of 25 Sept 2026
Weekly downloads
353k
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v2.0.0
GitHub stars
10.7k
412 forks
Open issues / PRs
4 / 5
Contributors
-
Commits, last 52 weeks
74

Downloads

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

352,950 downloads last week, 1,664,839 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
2.0.0, 2 Aug 20206 years ago
First published
28 Oct 2014
Last push to GitHub
11 Sept 202613 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
5
Commits, last 52 weeks
74
Dependents on npm
18

Major versions

  1. v2 first release 2.0.0, 2 Aug 2020
  2. v1 first release 1.0.0, 18 Dec 2015
  3. v0 first release 0.1.0, 28 Oct 2014

Recent releases

VersionPublished
2.0.02 Aug 2020
1.3.02 Sept 2019
1.2.015 Jun 2019
1.1.02 Mar 2018
1.0.018 Dec 2015
0.2.023 Oct 2015
0.1.21 Mar 2015
0.1.18 Dec 2014
0.1.028 Oct 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10.0.0
Runtimes
-
Unpacked size (npm)
4.5 kB
Dependencies (0)
None
npm install x-xss-protection
  • jsDelivrhttps://cdn.jsdelivr.net/npm/x-xss-protection@2.0.0/
  • unpkghttps://unpkg.com/x-xss-protection@2.0.0/
  • esm.shhttps://esm.sh/x-xss-protection@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@nichtsam/helmet11.2k-6 months agoESM only-
cors58m-8 months agoCommonJS-
recheck424.9k-1 year agoCommonJS-
express-security.txt17k-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.