sindresorhus / p-memoize
Memoize promise-returning & async functions
☆396Updated last year
Related projects ⓘ
Alternatives and complementary repositories for p-memoize
- Run promise-returning & async functions concurrently with optional limited concurrency☆314Updated last year
- Clean up error stack traces☆337Updated last year
- Timeout a promise after a specified amount of time☆274Updated 3 weeks ago
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Debounce promise-returning & async functions☆211Updated 6 months ago
- Create a promise that can be canceled☆441Updated 2 years ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,086Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated last week
- Safely and quickly serialize JavaScript objects☆348Updated 6 months ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆207Updated 11 months ago
- Detect if the current environment is a CI server☆384Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆350Updated 4 months ago
- Simple “Least Recently Used” (LRU) cache☆677Updated 11 months ago
- Read the closest package.json file☆258Updated last year
- Create an error from multiple errors☆245Updated last year
- npm's content-addressable cache☆279Updated last month
- Serialize/deserialize an error into a plain object☆538Updated 2 months ago
- Retry a promise-returning or async function☆793Updated 3 weeks ago
- Promisify an event by waiting for it to be emitted☆429Updated 8 months ago
- Get a random temporary file or directory path☆424Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆193Updated last year
- Quickly scan for CLI flags and arguments☆625Updated 8 months ago
- Convert a string to a valid safe filename☆489Updated last year
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆266Updated last week
- Delay a promise a specified amount of time☆608Updated last year
- An implementation of WHATWG AbortController interface.☆302Updated 3 years ago
- Run some code when the process exits☆282Updated last year
- Shared TypeScript config for my projects☆350Updated 2 months ago
- A tiny, crazy fast memoization library for the 95% use-case☆240Updated 3 months ago