eslint-plugin-xss weekly downloads statistics
By Rantanen · npm · ESLint plugins
Validates XSS related issues of mixing HTML and non-HTML content in variables.
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.
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm ESLint plugins plugins
All 20 eslint-plugin-xss alternativesData 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.