Search results

68 packages found

Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 1.1.1, 3 months ago1036 dependents licensed under $MIT
147,325,465

Execute a function on exit without leaking memory, allowing all objects to be garbage collected

published version 2.1.2, 2 years ago61 dependents licensed under $MIT
34,003,293

https://en.wikipedia.org/wiki/Trie

published version 0.5.0, 2 years ago20 dependents licensed under $MIT
19,428,097

Memoize/cache function results

published version 0.4.17, a year ago1131 dependents licensed under $ISC
18,707,369

An LRU cache of weak references

published version 1.2.2, 3 years ago22 dependents licensed under $MIT
9,121,372

A WeakMap shim for Node.js and browsers

published version 1.0.8, 3 years ago34 dependents licensed under $Apache-2.0
3,168,033

Make weak references to JavaScript Objects.

published version 2.0.2, 5 years ago16 dependents licensed under $MIT
368,137

Garbage-collected memoizer for variadic functions

published version 1.0.2, 8 years ago28 dependents licensed under $ISC
260,906

Object wrapper for unref'ed setInterval

published version 1.0.3, 7 years ago1 dependents licensed under $MIT
34,611

Make weak references to JavaScript Objects.

published version 1.0.1, 9 years ago37 dependents licensed under $MIT
37,585

Memoized function binding

published version 1.0.3, 8 years ago11 dependents licensed under $ISC
20,676

Stateless weak memoization replacement for reselect and memoize-one

published version 2.0.0, a year ago10 dependents licensed under $MIT
13,139

Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.

published version 0.2.1, a year ago1 dependents licensed under $MIT
1,844

The WeakIdentityMap object holds key-value pairs of weakly referenced objects and remembers the original insertion order of the keys

published version 1.2.3, 7 months ago1 dependents licensed under $MIT
1,490

[![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

published version 0.0.1, 2 years ago0 dependents licensed under $MIT
1,020

Iterable WeakSet / WeakMap using ES2021 WeakRef

published version 1.0.4, 4 years ago0 dependents licensed under $Unlicense
903

Memoize/cache function results

published version 0.1.9, 4 years ago0 dependents licensed under $MIT
879

Garbage-collected memoizer for variadic functions that can be used as a decorator

published version 1.0.3, 8 years ago5 dependents licensed under $MIT
844

retext plugin to check for weak and mitigating wording

published version 7.0.0, 2 years ago6 dependents licensed under $MIT
646

Iterable WeakMaps and WeakSets. Provides WeakRefMap and WeakRefSet which store values using WeakRefs and clean themselves up when garbage collected.

published version 1.2.4, 3 years ago1 dependents licensed under $MIT
219