Package
shallow-equal
Typescript-compatible minimalistic shallow equality check for arrays/objects
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 3.3m
- +40% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v3.1.0
- GitHub stars
- 78
- 8 forks
- Open issues / PRs
- 0 / 13
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
3,278,906 downloads last week, 15,918,110 in the last month. The 12-month change of +40% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 06 in total
- Latest version
- 3.1.0, 15 Feb 20233 years ago
- First published
- 12 Aug 2016
- Last push to GitHub
- 15 Feb 20231,317 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 13
- Commits, last 52 weeks
- 0
- Dependents on npm
- 578
Major versions
- v3 first release 3.0.0, 26 Jan 2023
- v1 first release 1.0.0, 12 Aug 2016
Recent releases
| Version | Published |
|---|---|
| 3.1.0 | 15 Feb 2023 |
| 3.0.0 | 26 Jan 2023 |
| 1.2.1 | 6 Dec 2019 |
| 1.2.0 | 12 Jun 2019 |
| 1.1.0 | 5 Feb 2019 |
| 1.0.0 | 12 Aug 2016 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 14 kB
- Dependencies (0)
- None
npm install shallow-equal- jsDelivr
https://cdn.jsdelivr.net/npm/shallow-equal@3.1.0/ - unpkg
https://unpkg.com/shallow-equal@3.1.0/ - esm.sh
https://esm.sh/shallow-equal@3.1.0
Indexability: Indexed.