Install
is-weakmap
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
2.0.2Latest, 8 Mar 2024
519MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
3Stars
3.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Stop Memory Leaks! The Practical Guide to WeakMap and WeakSet dev.to, 23 Nov 2025
- The Art of Memory: A Journey with WeakMap and WeakSet dev.to, 7 Nov 2025
- Why are `WeakMap`s not enumerable? stackoverflow.com, 2 Jan 2025
- What are WeakMaps in JS? dev.to, 24 Dec 2024
- A Tale of WeakMap and WeakSet in JavaScript: The Guardians of Forgotten Secrets dev.to, 29 Nov 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.