eslint-plugin-no-for-of-loops weekly downloads statistics
By dharFr · npm · ESLint plugins
Prevents for..of loops usage
eslint-plugin-no-for-of-loops has 24,270 recorded weekly downloads on npm, a decrease of 39.6% over the past 30 days.
About eslint-plugin-no-for-of-loops
eslint-plugin-no-for-of-loops
An eslint plugin to prevent for (...of) loops usage in your code base.
Installation
npm install --save-dev eslint-plugin-no-for-of-loops
Usage
In your .eslintrc:
{
"plugins": [
"no-for-of-loops"
],
"rules": {
"no-for-of-loops/no-for-of-loops": 2
}
}
Rule
Disallow use of for (..of) loops.
Why
Using for (...of) loops requires Symbol and iterator polyfills to work on older browsers (see babel/babel#1534).
Depending on your browsers target (for example, Android 4.4 in-app Webview is capped to Chrome 33), you might not want to include those polyfills to save a few kilobytes.
See for..of and Symbol compatibily tables for more details.
Disabling the rule
Want to disable the rule anyway? Your call :
// eslint-disable-next-line no-for-of-loops/no-for-of-loops
for (let i of iterable) {
// ...
}
Credits
This project was initialy forked form eslint-plugin-no-loops. Kudos!
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- for
- of
- loops
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-no-for-of-loops 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-no-for-of-loops. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.