Search results
356 packages found
Wrap a function in a memo to reuse the first invocation result of the function
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- export-default
- memo
- memoisation
- memoise
- memoization
- memoize
- module
- node
- View more
Generic memoization with Map and WeakMap
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
Memoize is a simple library that remembers the function execution results and can respond immediately.
Stateless weak memoization replacement for reselect and memoize-one
Delay the evaluation of a variadic async function and cache the result
Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
Unabashedly-barebones memoization library with an aim toward speed
Fast, small, efficient JavaScript memoization lib to memoize JS functions
Memoize a function of n args with O(n) recall and no memory leaks
A memoization library which only remembers the latest invocation
A memoisation toolkit
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
A decorator for caching class getters and updating the cache based on dependent properties
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
Cache the result of a method or getter for better performance. Supports timeout and clearing the cache.
Takes a function and returns a memoized compute.