Skip to content
JS
Package

eslint-plugin-prefer-object-spread

ESLint rule for suggesting that object spread properties be used instead of Object.assign().

v1.2.1, 18 Apr 2017MITCommonJSTypes: NoneLinting and formatting
$ npm install eslint-plugin-prefer-object-spread

Key numbers

As of 25 Sept 2026
Weekly downloads
32.6k
-18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 years ago
v1.2.1
GitHub stars
19
2 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 75.2k (26 May 2026)Low 17.5k (11 Aug 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

32,629 downloads last week, 130,751 in the last month. The 12-month change of -18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.2.1, 18 Apr 20179 years ago
First published
-
Last push to GitHub
7 May 20211,966 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
54

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4.0.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
Peer dependencies (1)
eslint
npm install eslint-plugin-prefer-object-spread
  • jsDelivrhttps://cdn.jsdelivr.net/npm/eslint-plugin-prefer-object-spread@1.2.1/
  • unpkghttps://unpkg.com/eslint-plugin-prefer-object-spread@1.2.1/
  • esm.shhttps://esm.sh/eslint-plugin-prefer-object-spread@1.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
eslint-plugin-node-import44.5k-7 months agoCommonJS-
@typescript-eslint/eslint-plugin100.6m-3 days agoCommonJS-
eslint-plugin-jest11.7m-25 days agoCommonJS-
eslint-plugin-typescript-sort-keys301.6k-1 year agoESM + CommonJS-
eslint-plugin-eslint-plugin256.3k-1 month agoESM only-
eslint-plugin-sort-destructure-keys195.8k-7 months agoCommonJS-
eslint-plugin-rulesdir144k-3 years ago--
eslint-plugin-qunit125k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.