30 open-source projects similar to sindresorhus/p-memoize, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best P Memoize alternative.
Tap into a promise chain without affecting its value or state
Retry a promise-returning or async function
Promises fail silently if you don't attach a .catch() handler.
By default, promises fail silently if you don't attach a .catch() handler to them.
Make an asynchronous function synchronous
Run promise-returning & async functions concurrently with optional limited concurrency
Debounce promise-returning & async functions
Promisify an event by waiting for it to be emitted
Deprecated as it's now available in all modern browsers and Node.js versions.
Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called
Run multiple promise-returning & async functions with limited concurrency
Map over promises concurrently
Compose promise-returning & async functions into a reusable pipeline
p-queue is a JavaScript promise queue and concurrent task scheduler designed to limit the number of active asynchronous operations. It serves as an asynchronous rate limiter and promise lifecycle manager to prevent resource exhaustion. The project distinguishes itself through priority-based task scheduling and token-bucket rate limiting to control execution frequency. It integrates with abort signals for task cancellation and provides mechanisms to pause, resume, and clear pending operations. The tool covers broader traffic management capabilities including operation timeouts and concurrency
Reduce a list of values using promises into a promise for a value
Make a promise always fulfill with its actual fulfillment value or rejection reason