Package
arr-diff
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 16.4m
- -8% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v4.0.0
- GitHub stars
- 45
- 19 forks
- Open issues / PRs
- 2 / 2
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
16,414,733 downloads last week, 62,798,979 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 011 in total
- Latest version
- 4.0.0, 14 Apr 20179 years ago
- First published
- 26 Sept 2014
- Last push to GitHub
- 4 Jan 20221,724 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 2
- Commits, last 52 weeks
- 0
- Dependents on npm
- 725
Major versions
- v4 first release 4.0.0, 14 Apr 2017
- v3 first release 3.0.0, 7 May 2016
- v2 first release 2.0.0, 6 Dec 2015
- v1 first release 1.0.0, 28 Dec 2014
- v0 first release 0.1.0, 26 Sept 2014
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 14 Apr 2017 |
| 3.0.0 | 7 May 2016 |
| 2.0.0 | 6 Dec 2015 |
| 1.1.0 | 23 Aug 2015 |
| 1.0.1 | 28 Dec 2014 |
| 1.0.0 | 28 Dec 2014 |
| 0.2.2 | 2 Dec 2014 |
| 0.2.1 | 1 Dec 2014 |
| 0.2.0 | 30 Nov 2014 |
| 0.1.1 | 2 Oct 2014 |
| 0.1.0 | 26 Sept 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install arr-diff- jsDelivr
https://cdn.jsdelivr.net/npm/arr-diff@4.0.0/ - unpkg
https://unpkg.com/arr-diff@4.0.0/ - esm.sh
https://esm.sh/arr-diff@4.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @stdlib/number-float64-base-normalize | 620.5k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-define-nonenumerable-read-only-property | 612.5k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-define-property | 611.6k | - | 7 months ago | CommonJS | - |
| @stdlib/string-format | 603.8k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-constructor-name | 597.2k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-global | 597k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-escape-regexp-string | 596.5k | - | 7 months ago | CommonJS | - |
| @stdlib/utils-get-prototype-of | 595.9k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.