eslint-plugin-newline-destructuring weekly downloads statistics
By urielvan · npm · ESLint plugins
Eslint plugin for enforcing newlines in object destructuring assignment past a certain number of properties.
eslint-plugin-newline-destructuring has 13,676 recorded weekly downloads on npm, a decrease of 54.5% over the past 30 days, ranking #883 of 2,322 tracked listings.
About eslint-plugin-newline-destructuring
eslint-plugin-newline-destructuring
Eslint plugin for enforcing newlines in object destructuring assignment past a certain number of properties.
Usage
Add newline-destructuring to the plugins section of your eslint configuration file.
plugins: [
'newline-destructuring'
]
Then add the rule in the rules section
rules: {
'newline-destructuring/newline': 'error'
}
Options
The rule accepts an option object with the following properties:
-
items[number] (default:2) - Specifies the maximum number of properties before the plugin requires breaking up the statement to multiple lines. If there are exactly this many or fewer properties, then the plugin will make sure the statement stays on one line unless it would violate themaxLengthoption orconsistentoption is used. More properties than this number will always be split onto multiple lines. -
itemsWithRest[number] (default:1) - Specifies the maximum number of properties contain rest pattern before the plugin requires breaking up the statement to multiple lines. If there are exactly this many or fewer properties, then the plugin will make sure the statement stays on one line unless it would violate themaxLengthoption orconsistentoption is used. More properties than this number will always be split onto multiple lines. -
maxLength[number] (default:Infinity) - Specifies the maximum length for source code lines in your project, the plugin will split long destructuring lines even if they contains properties less than value initemsoritemsWithRest -
consistent[boolean] (default: false) - If there are less than the threshold items, allow new lines consistent with whether the curly braces are on their own lines or not. -
allowAllPropertiesOnSameLine[boolean] (default: false) - If there are less than the threshold items, allow all properties to be on the same line. But one likeconst { a,b, c } = objwill be split into multiple lines
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- lint
- destructuring
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-newline-destructuring 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-newline-destructuring. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.