Showing 1-20 of 84 packages
IterableWeakSet, IterableWeakMap, and WeakValueMap provide iterable weak collections whose entries disappear automatically when their objects are garbage collected—perfect for caches and registries in any JavaScript runtime.
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
WeakRef and FinalizationGroup for IE11+
FrailMap is an extension of WeakMap that supports primitive values using WeakRef.
Iterable WeakSet / WeakMap using ES2021 WeakRef
Socket.dev optimized package override for is-weakref
WeakRef sham that uses the global WeakRef if it exists.
A simple cache using 'WeakRef' to store cached values.
weak decorator, wraps it with a WeakRef descriptor
A GC-aware cache using WeakRef and FinalizationRegistry
Returns the same unique WeakRef instance per object.
A simple WeakRef implementation/polyfill based on N-API
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
Throttle promise-returning & async functions
A base TSConfig for working with React Native.
The WeakIdentityMap object holds key-value pairs of weakly referenced objects and remembers the original insertion order of the keys
A simple WeakRef implementation/polyfill based on N-API
一个高性能、内存安全且类型友好的 TypeScript 领域模型管理库。专为复杂的前端应用设计,支持 **自动内存管理 (WeakRef)**、**响应式框架集成 (Vue/MobX)** 以及 **精细化的数据合并策略**。
MemLens is a tool for inspecting memory leaks in browser