weaken-it
WeakMap utility functions and related patterns
WeakMap utility functions and related patterns
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
Event emitter with optional async-emit and weak-listener support