Skip to content
JS
Package

set.prototype.difference

An ESnext spec-compliant `Set.prototype.difference` shim/polyfill/replacement that works as far down as ES3

v1.1.7, 15 Mar 2025MITCommonJSTypes: NonePolyfills and shims
$ npm install set.prototype.difference

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
0100k200k300kSept 2025Mar 2026Sept 2026High 236.5k (25 Aug 2026)Low 6.7k (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.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/set.prototype.difference@1.1.7/
  • unpkghttps://unpkg.com/set.prototype.difference@1.1.7/
  • esm.shhttps://esm.sh/set.prototype.difference@1.1.7
PackageWeekly downloadsGzipLast releaseModuleComparison
array-buffer-byte-length63.3m-1 year agoCommonJS-
weakmap-polyfill1m-5 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
es6-shim1.1m-3 years agoCommonJS-
@bloomberg/record-tuple-polyfill76.8k-4 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.