Search results

1000+ packages found

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

published version 1.1.0, 10 days ago1426 dependents licensed under $MIT
206,585,838

ES spec-like internal slots

published version 1.1.0, 8 days ago1163 dependents licensed under $MIT
151,173,020

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

published version 2.0.2, 9 months ago610 dependents licensed under $MIT
94,641,615

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, 9 months ago592 dependents licensed under $MIT
94,691,643

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

published version 2.0.4, 4 days ago610 dependents licensed under $MIT
95,376,406

ECMAScript6 WeakMap polyfill

published version 2.0.3, 6 years ago145 dependents licensed under $ISC
25,312,780

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

published version 1.0.2, 10 days ago7 dependents licensed under $MIT
18,150,095

A WeakMap shim for Node.js and browsers

published version 1.0.8, 3 years ago34 dependents licensed under $Apache-2.0
3,146,814

ECMAScript6 WeakMap polyfill

published version 2.0.4, 4 years ago30 dependents licensed under $MIT
1,166,836

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
214,898

Garbage-collected memoizer for variadic functions

published version 1.0.2, 7 years ago28 dependents licensed under $ISC
223,496

The Map & WeakMap data structures as a reactive signals.

published version 0.4.13, 3 months ago16 dependents licensed under $MIT
95,227

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

published version 0.0.6, 12 years ago37 dependents licensed under $MIT
60,207

The smallest, yet handy, Map and WeakMap utility ever

published version 1.0.2, 5 years ago16 dependents licensed under $ISC
41,588

Memoized function binding

published version 1.0.3, 8 years ago12 dependents licensed under $ISC
43,540

ES2015 WeakMap polyfill for Ember.WeakMap

published version 3.3.2, 6 years ago7 dependents licensed under $MIT
28,588

Generic memoization with Map and WeakMap

published version 2.1.2, 5 years ago0 dependents licensed under $MIT
23,559

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

published version 2.0.0, 2 years ago1 dependents licensed under $MIT
17,055

Memoize decorator for TypeScript that uses WeakMap

published version 1.2.1, 2 years ago7 dependents licensed under $(MIT OR Apache-2.0)
11,415

A simple and intuitive way to shim private methods and properties in JavaScript.

published version 0.4.1, 11 years ago21 dependents licensed under $MIT
2,260