Skip to content
JS
Package

weak-map

A WeakMap shim for Node.js and browsers

v1.0.8, 15 Feb 2022Apache-2.0CommonJSTypes: NonePolyfills and shims
$ npm install weak-map

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+31% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v1.0.8
GitHub stars
36
3 forks
Open issues / PRs
2 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (7 Apr 2026)Low 422.3k (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,004,597 downloads last week, 5,111,010 in the last month. The 12-month change of +31% 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
1.0.8, 15 Feb 20224 years ago
First published
6 Aug 2013
Last push to GitHub
15 Feb 20221,683 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
34

Major versions

  1. v1 first release 1.0.0, 6 Aug 2013

Recent releases

VersionPublished
1.0.815 Feb 2022
1.0.529 May 2014
1.0.420 Mar 2014
1.0.325 Jan 2014
1.0.25 Jan 2014
1.0.15 Dec 2013
1.0.06 Aug 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (0)
None
npm install weak-map
  • jsDelivrhttps://cdn.jsdelivr.net/npm/weak-map@1.0.8/
  • unpkghttps://unpkg.com/weak-map@1.0.8/
  • esm.shhttps://esm.sh/weak-map@1.0.8
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.