Skip to content
PluginStats

eslint-plugin-xss weekly downloads statistics

By Rantanen · npm · ESLint plugins

Validates XSS related issues of mixing HTML and non-HTML content in variables.

View on npm Stale · Oct 17, 2026

eslint-plugin-xss has 26,772 recorded weekly downloads on npm, a decrease of 28.5% over the past 30 days, ranking #687 of 2,256 tracked listings.

Weekly downloads
26,772
Official API · Oct 17, 2026
7-day growth
-36.7%
-15.5K weekly downloads
30-day growth
-28.5%
-10.7K weekly downloads
90-day growth
-17.6%
-5.7K weekly downloads
Rank
#687
Among tracked npm listings

About eslint-plugin-xss

eslint-plugin-xss

Tries to detect XSS issues in codebase before they end up in production.

Installation

You'll first need to install ESLint:

Next, install eslint-plugin-xss:

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-xss globally.

Usage

Add xss to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

Then configure the rules you want to use under the rules section.

Or:

Enable all rules by adding the following to your .eslintrc configuration file

Supported Rules

• xss/no-mixed-html: Warn about possible XSS issues. • xss/no-location-href-assign: Warn when trying to modify location.href.

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

eslint-plugin-xss weekly downloads on npm, last 90 days: 26,772 weekly downloads as of Oct 17, 2026, -17.6% over 90 days.eslint-plugin-xssWeekly downloads on npm · Last 90 days26,772downloads / week-17.6% over 90 days010K20K30K40K50K60KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
eslint-plugin-xss weekly downloads on npm, last 90 days: 26,772 weekly downloads as of Oct 17, 2026, -17.6% over 90 days.

7/30/90-day growth

eslint-plugin-xss weekly downloads growth on npm: -36.7% over 7 days, -28.5% over 30 days, -17.6% over 90 days.eslint-plugin-xssWeekly downloads growth on npm26,772downloads / week now7-day growth-15,496 weekly downloads-36.7%30-day growth-10,675 weekly downloads-28.5%90-day growth-5,713 weekly downloads-17.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
eslint-plugin-xss weekly downloads growth on npm: -36.7% over 7 days, -28.5% over 30 days, -17.6% over 90 days.

Ranking history

eslint-plugin-xss npm ranking history: currently #687 (by weekly downloads).eslint-plugin-xssnpm ranking · by weekly downloads · Last 90 days#687current rank#685#686#687#688#689Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
eslint-plugin-xss npm ranking history: currently #687 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 35, #7 (overall #687)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins253 listings · 13 pages · page 9, #4 (overall #164)
ESLint plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for eslint-plugin-xss
Date (UTC)Weekly downloadsChange vs. previous
26,772-4K
30,786-485
31,271-8.7K
39,939-8.1K
48,0090
48,009+4.9K
43,113+845
42,268+2.5K
39,810+4.5K
35,335+525
34,810-420
35,230-10.5K
45,705-748
46,453—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-xss alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/eslint-plugin-xss. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.