is-weakref
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Iterable WeakSet / WeakMap using ES2021 WeakRef
A LRU cache built on WeakRefs and FinalizationRegistry
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
WeakRefMap, a weak map with access to the fields, and keys can be primitives
Weak Cache
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
tiny lib to store weak referenced units
weak decorator, wraps it with a WeakRef descriptor
A native-like object, but with a weak reference to all values, automatically deleting the corresponding property when the value is recycled
Iterable WeakMaps and WeakSets. Provides WeakRefMap and WeakRefSet which store values using WeakRefs and clean themselves up when garbage collected.
WeakCache
A zero-dependency lightweight library for iterable weak collections and proxies.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
[![npm version](https://img.shields.io/npm/dw/@awsless/weak-cache)](https://www.npmjs.org/package/@awsless/weak-cache) [![npm version](https://img.shields.io/npm/v/@awsless/weak-cache.svg?style=flat-square)](https://www.npmjs.org/package/@awsless/weak-cac
A simple weak referenced Least Recently Used cache