eslint-plugin-prefer-object-spread weekly downloads statistics
By bryanrsmith (2 listings) · npm · ESLint plugins
ESLint rule for suggesting that object spread properties be used instead of Object.assign().
eslint-plugin-prefer-object-spread has 14,429 recorded weekly downloads on npm, a decrease of 62.5% over the past 30 days.
It ranks #831 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -66.6%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About eslint-plugin-prefer-object-spread
[![build status][travis-image]][travis-url] [![test coverage][coveralls-image]][coveralls-url] [![npm][npm-image]][npm-url]
eslint-plugin-prefer-object-spread
ESLint rule for suggesting that object spread properties be used instead of Object.assign().
Installation
Install ESLint and eslint-plugin-prefer-object-spread:
Usage
Add prefer-object-spread to the plugins section of your .eslintrc configuration file, and configure the rule under the rules section.
This rule suggests that object spread properties be used instead of Object.assign(). The rule is only applied when Object.assign() is used for cloning; not when it is used to extend an existing object. i.e., it applies when the first argument to Object.assign() is an object literal. This is because spread properties only iterate over own properties.
When using this rule the following patterns are considered problems:
The following patterns are considered okay:
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
Where eslint-plugin-prefer-object-spread sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm ESLint plugins plugins
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-prefer-object-spread. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.