Skip to content
JS
Package

shallow-equal

Typescript-compatible minimalistic shallow equality check for arrays/objects

v3.1.0, 15 Feb 2023MITESM + CommonJSTypes: BundledTypeScript tooling
$ npm install shallow-equal

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
02m4m6mSept 2025Mar 2026Sept 2026High 4.5m (18 Aug 2026)Low 1.5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v3 first release 3.0.0, 26 Jan 2023
  2. v1 first release 1.0.0, 12 Aug 2016

Recent releases

VersionPublished
3.1.015 Feb 2023
3.0.026 Jan 2023
1.2.16 Dec 2019
1.2.012 Jun 2019
1.1.05 Feb 2019
1.0.012 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/shallow-equal@3.1.0/
  • unpkghttps://unpkg.com/shallow-equal@3.1.0/
  • esm.shhttps://esm.sh/shallow-equal@3.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.