eslint-plugin-listeners weekly downloads statistics
By foad · npm · ESLint plugins
ESLint plugin for preventing memory leaks around event listeners
eslint-plugin-listeners has 20,479 recorded weekly downloads on npm, a decrease of 18.0% over the past 30 days, ranking #785 of 2,391 tracked listings.
About eslint-plugin-listeners
eslint-plugin-listeners
This project aims to provide formatting rules to prevent memory leaks around event listeners.
Requirements
- ESLint
>= 8.57 - Node.js
>= 20
Installation
$ yarn add --dev eslint eslint-plugin-listeners
If you installed ESLint globally (using -g) then install eslint-plugin-listeners globally too.
Usage
Flat config (eslint.config.js, ESLint 9+)
Use a shipped preset:
import listeners from 'eslint-plugin-listeners';
export default [
...listeners.configs['flat/recommended'],
];
Available presets: flat/recommended, flat/strict.
Or wire rules up manually:
import listeners from 'eslint-plugin-listeners';
export default [
{
plugins: { listeners },
rules: {
'listeners/no-missing-remove-event-listener': 'error',
'listeners/matching-remove-event-listener': 'error',
'listeners/no-inline-function-event-listener': 'error',
},
},
];
Legacy config (.eslintrc, ESLint 8)
Add listeners to the plugins section (the eslint-plugin- prefix is optional):
{
"plugins": ["listeners"]
}
Then extend a shipped preset:
{
"extends": ["plugin:listeners/recommended"]
}
Available presets: recommended, strict.
Or configure the rules directly:
{
"rules": {
"listeners/no-missing-remove-event-listener": "error",
"listeners/matching-remove-event-listener": "error",
"listeners/no-inline-function-event-listener": "error"
}
}
Rule Documentation
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- event
- listeners
- event-listeners
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 (122)Similar npm ESLint plugins plugins
All 20 eslint-plugin-listeners 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-listeners. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.