Search results
26 packages found
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.
Returns the same unique WeakRef instance per object.
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.
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
A base class to weakly target any reference
Iterable WeakMaps and WeakSets. Provides WeakRefMap and WeakRefSet which store values using WeakRefs and clean themselves up when garbage collected.
A Map with weakly referenced values, instead of keys
C#-Style Typescript Events/Weak Events
- Event
- Events
- C#
- Weak Event
- TypeScript
- Lightweight
- Zero dependencies
- No dependencies
- FinalizationRegistry
- WeakRef
- Observer
A native-like object, but with a weak reference to all values, automatically deleting the corresponding property when the value is recycled
A simple weak referenced Least Recently Used cache
A zero-dependency lightweight library for iterable weak collections and proxies.
[![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
WeakRef and FinalizationGroup for IE11+
Iterable WeakSet / WeakMap using ES2021 WeakRef
WeakRefMap, a weak map with access to the fields, and keys can be primitives
Shim for TC39 Weakrefs proposal