Search results
364 packages found
Generic memoization with Map and WeakMap
Intuitive magical memoization library with Proxy and WeakMap
Memoize is a simple library that remembers the function execution results and can respond immediately.
Assign number-counting string placeholders for values, remembering the ones already seen.
Memoize any function using Keyv as storage backend.
Delay the evaluation of a variadic async function and cache the result
A memoize implementation that only caches the most recent evaluation
fork of fast-memoize and support esm
Memoize a function of n args with O(n) recall and no memory leaks
A memoization algorithm in which each function argument represents a new key, creating a trie of caches as defined by the array in your first argument.
Simple decorator for caching the result of a function based on the most recent arguments
A memoization library which only remembers the latest invocation
Fast memoization decorator and other helpers with 1st class support for Promises.
A decorator for caching class getters and updating the cache based on dependent properties
A memoisation toolkit
A function is a set of statements that performs a task or calculates a value.
- extra
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- FALSE
- View more
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
Cache the result of a method or getter for better performance. Supports timeout and clearing the cache.