Skip to content
JS
Package

weakmap-polyfill

ECMAScript6 WeakMap polyfill

v2.0.4, 6 Jun 2021MITCommonJSTypes: NonePolyfills and shims
$ npm install weakmap-polyfill

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+93% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v2.0.4
GitHub stars
32
16 forks
Open issues / PRs
0 / 7
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (25 Aug 2026)Low 298.9k (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.

1,001,085 downloads last week, 4,584,768 in the last month. The 12-month change of +93% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
07 in total
Latest version
2.0.4, 6 Jun 20215 years ago
First published
9 Oct 2015
Last push to GitHub
7 Dec 20221,387 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
7
Commits, last 52 weeks
0
Dependents on npm
28

Major versions

  1. v2 first release 2.0.0, 27 Apr 2016
  2. v1 first release 1.0.0, 9 Oct 2015

Recent releases

VersionPublished
2.0.46 Jun 2021
2.0.313 Jan 2021
2.0.27 Apr 2020
2.0.115 Jan 2020
2.0.027 Apr 2016
1.0.119 Oct 2015
1.0.09 Oct 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=8.10.0
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (0)
None
npm install weakmap-polyfill

CDN

jsDelivr: 175.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/weakmap-polyfill@2.0.4/
  • unpkghttps://unpkg.com/weakmap-polyfill@2.0.4/
  • esm.shhttps://esm.sh/weakmap-polyfill@2.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
es5-shim1m-4 years agoCommonJS-
symbol.prototype.description599.4k-9 months agoCommonJS-
array.prototype.with17.5k-2 years agoCommonJS-
regexp.escape504k-2 years agoCommonJS-
set.prototype.difference144.8k-1 year agoCommonJS-
set.prototype.intersection126k-8 months agoCommonJS-
array.prototype.foreach56.4k-2 years agoCommonJS-
set.prototype.union27.8k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.