Search results

1000+ packages found

Store information about any JS value in a side channel. Uses WeakMap if available.

published version 1.0.2, 7 months ago70 dependents licensed under $MIT
157,568,448

ES spec-like internal slots

published version 1.1.0, 7 months ago1098 dependents licensed under $MIT
202,232,090

Store information about any JS value in a side channel. Uses WeakMap if available.

published version 1.1.0, 7 months ago1378 dependents licensed under $MIT
285,398,054

Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.2, a year ago630 dependents licensed under $MIT
134,072,164

Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.4, 7 months ago630 dependents licensed under $MIT
135,478,174

Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.

published version 1.0.2, a year ago630 dependents licensed under $MIT
134,049,202

ECMAScript6 WeakMap polyfill

published version 2.0.3, 6 years ago131 dependents licensed under $ISC
29,973,255

A WeakMap shim for Node.js and browsers

published version 1.0.8, 3 years ago34 dependents licensed under $Apache-2.0
3,435,615

ECMAScript6 WeakMap polyfill

published version 2.0.4, 4 years ago28 dependents licensed under $MIT
1,381,020

Garbage-collected memoizer for variadic functions

published version 1.0.2, 8 years ago29 dependents licensed under $ISC
270,013

Immutable finite list objects with constant-time equality testing (===) and no memory leaks

published version 0.4.10, 6 years ago3 dependents licensed under $MIT
243,472

The Map & WeakMap data structures as a reactive signals.

published version 0.7.2, 9 days ago21 dependents licensed under $MIT
167,642

ES2015 WeakMap polyfill for Ember.WeakMap

published version 3.3.2, 6 years ago7 dependents licensed under $MIT
53,590

Shim for WeakMap with non-leaky O(1) lookup time

published version 0.0.6, 13 years ago34 dependents licensed under $MIT
50,696

The smallest, yet handy, Map and WeakMap utility ever

published version 1.0.2, 5 years ago18 dependents licensed under $ISC
39,418

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

published version 3.5.94, a year ago0 dependents licensed under $MIT
25,523

Memoized function binding

published version 1.0.3, 8 years ago9 dependents licensed under $ISC
22,125

Memoize decorator for TypeScript that uses WeakMap

published version 1.2.1, 3 years ago7 dependents licensed under $(MIT OR Apache-2.0)
19,257

Pool of objects for primitives. (Make WeakMap accept primitive keys)

published version 2.0.0, 3 years ago1 dependents licensed under $MIT
15,938

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

published version 5.8.60, a year ago0 dependents licensed under $MIT
14,164