is-finalizationregistry
Is this value a JS FinalizationRegistry? 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.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Iterable WeakSet / WeakMap using ES2021 WeakRef
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
A LRU cache built on WeakRefs and FinalizationRegistry
WeakRefMap, a weak map with access to the fields, and keys can be primitives
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 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.
tiny lib to store weak referenced units
weak decorator, wraps it with a WeakRef descriptor
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
Weak Cache
WeakCache
A simple weak referenced Least Recently Used cache
A zero-dependency lightweight library for iterable weak collections and proxies.