Search results

1000+ packages found

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

published version 1.0.2, 6 months ago64 dependents licensed under $MIT
142,249,965

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

published version 1.1.0, 6 months ago1488 dependents licensed under $MIT
251,612,726

ES spec-like internal slots

published version 1.1.0, 6 months ago1200 dependents licensed under $MIT
174,895,465

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

published version 2.0.2, a year ago644 dependents licensed under $MIT
120,811,648

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

published version 2.0.4, 6 months ago644 dependents licensed under $MIT
122,264,788

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 ago626 dependents licensed under $MIT
120,698,786

ECMAScript6 WeakMap polyfill

published version 2.0.3, 6 years ago144 dependents licensed under $ISC
24,992,352

A WeakMap shim for Node.js and browsers

published version 1.0.8, 3 years ago34 dependents licensed under $Apache-2.0
3,168,560

ECMAScript6 WeakMap polyfill

published version 2.0.4, 4 years ago30 dependents licensed under $MIT
1,377,057

Garbage-collected memoizer for variadic functions

published version 1.0.2, 8 years ago28 dependents licensed under $ISC
265,500

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
235,739

The Map & WeakMap data structures as a reactive signals.

published version 0.7.1, a month ago19 dependents licensed under $MIT
141,601

The smallest, yet handy, Map and WeakMap utility ever

published version 1.0.2, 5 years ago16 dependents licensed under $ISC
44,089

ES2015 WeakMap polyfill for Ember.WeakMap

published version 3.3.2, 6 years ago7 dependents licensed under $MIT
37,079

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

published version 0.0.6, 13 years ago37 dependents licensed under $MIT
41,435

[![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, 10 months ago0 dependents licensed under $MIT
25,349

Memoized function binding

published version 1.0.3, 8 years ago11 dependents licensed under $ISC
18,477

[![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, 10 months ago0 dependents licensed under $MIT
18,783

Generic memoization with Map and WeakMap

published version 2.1.2, 5 years ago0 dependents licensed under $MIT
17,396

Memoize decorator for TypeScript that uses WeakMap

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