Package
eslint-plugin-prefer-object-spread
ESLint rule for suggesting that object spread properties be used instead of Object.assign().
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/eslint-plugin-prefer-object-spread@1.2.1/ - unpkg
https://unpkg.com/eslint-plugin-prefer-object-spread@1.2.1/ - esm.sh
https://esm.sh/eslint-plugin-prefer-object-spread@1.2.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| eslint-plugin-node-import | 44.5k | - | 7 months ago | CommonJS | - |
| @typescript-eslint/eslint-plugin | 100.6m | - | 3 days ago | CommonJS | - |
| eslint-plugin-jest | 11.7m | - | 25 days ago | CommonJS | - |
| eslint-plugin-typescript-sort-keys | 301.6k | - | 1 year ago | ESM + CommonJS | - |
| eslint-plugin-eslint-plugin | 256.3k | - | 1 month ago | ESM only | - |
| eslint-plugin-sort-destructure-keys | 195.8k | - | 7 months ago | CommonJS | - |
| eslint-plugin-rulesdir | 144k | - | 3 years ago | - | - |
| eslint-plugin-qunit | 125k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.