Package
set.prototype.difference
An ESnext spec-compliant `Set.prototype.difference` shim/polyfill/replacement that works as far down as ES3
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 144.8k
- +893% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 8
- Direct, from package.json
- Last release
- 1 year ago
- v1.1.7
- GitHub stars
- 7
- 1 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
144,833 downloads last week, 733,390 in the last month. The 12-month change of +893% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.1.7, 15 Mar 20251 year ago
- First published
- -
- Last push to GitHub
- 13 Jan 2026254 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 11
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 38 kB
- Dependencies (8)
es-setis-setcall-bindes-errorscall-boundes-abstractdefine-propertiesstop-iteration-iterator
npm install set.prototype.difference- jsDelivr
https://cdn.jsdelivr.net/npm/set.prototype.difference@1.1.7/ - unpkg
https://unpkg.com/set.prototype.difference@1.1.7/ - esm.sh
https://esm.sh/set.prototype.difference@1.1.7
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| array-buffer-byte-length | 63.3m | - | 1 year ago | CommonJS | - |
| weakmap-polyfill | 1m | - | 5 years ago | CommonJS | - |
| @thednp/dommatrix | 182k | - | 22 days ago | ESM + CommonJS | - |
| map-like | 23.5k | - | 9 years ago | CommonJS | - |
| object_values | 18k | - | 9 years ago | CommonJS | - |
| object-keys | 79.8m | - | 7 years ago | CommonJS | - |
| es6-shim | 1.1m | - | 3 years ago | CommonJS | - |
| @bloomberg/record-tuple-polyfill | 76.8k | - | 4 years ago | ESM + CommonJS | - |
Indexability: Indexed.