p-memoize

Function caching library

Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input.

Memoize promise-returning & async functions

GitHub

397 stars
8 watching
30 forks
Language: TypeScript
last commit: about 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/memoizeCaches function results to speed up repeated calls with identical inputs1,091
nodeca/promise-memoizeA utility for caching and optimizing promise-returning functions with optional expire times and prefetching capabilities.61
sindresorhus/p-pipeCreates a reusable pipeline of promise-returning functions to compose and chain together multiple asynchronous operations.122
sindresorhus/p-allConcurrently execute multiple promise-returning functions with optional concurrency limits.319
melpon/memoizeA caching macro for Elixir that uses CAS on ETS to optimize function calls192
sindresorhus/p-map-seriesSerializes promise-based operations to ensure predictable order and execution of side effects.48
sindresorhus/p-timesRuns promise-returning & async functions multiple times concurrently39
sindresorhus/p-someWait for a specified number of promises to be fulfilled36
sindresorhus/p-mapA utility for mapping over promises concurrently while controlling concurrency and error handling.1,376
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-debounceDebounces promise-returning & async functions to delay their execution until after a specified wait period has elapsed since the last call.211
sindresorhus/pifyPromises utility to convert callback-style functions into promise-based versions.1,505
sindresorhus/p-eventPromises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.429
sindresorhus/p-reduceTransforms an asynchronous list into a single value by applying a reduction function68
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55