sindresorhus / p-memoize
Memoize promise-returning & async functions
☆401Updated last year
Alternatives and similar repositories for p-memoize:
Users that are interested in p-memoize are comparing it to the libraries listed below
- Run promise-returning & async functions concurrently with optional limited concurrency☆325Updated 2 months ago
- Timeout a promise after a specified amount of time☆283Updated 2 months ago
- Simple “Least Recently Used” (LRU) cache☆687Updated last year
- Find a file or directory by walking up parent directories☆591Updated 8 months ago
- Clean up error stack traces☆339Updated last year
- Create a promise that can be canceled☆441Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,104Updated last week
- Get a random temporary file or directory path☆427Updated last year
- Quickly scan for CLI flags and arguments☆639Updated 11 months ago
- Debounce promise-returning & async functions☆215Updated 10 months ago
- Deterministic JSON.stringify() - a faster version of @substack's json-stable-strigify without jsonify.☆298Updated last year
- Serialize/deserialize an error into a plain object☆553Updated last month
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆353Updated 8 months ago
- Uber-fast unique id generation, for Node.js and the browser☆731Updated 6 months ago
- Detect if the current environment is a CI server☆390Updated 2 months ago
- Safely and quickly serialize JavaScript objects☆347Updated 2 months ago
- Read the closest package.json file☆266Updated last year
- Tiny queue data structure☆377Updated 8 months ago
- npm's content-addressable cache☆283Updated 3 months ago
- Shared TypeScript config for my projects☆358Updated 3 months ago
- Promisify an event by waiting for it to be emitted☆434Updated last year
- Get the bundle size of an npm package.☆422Updated 2 years ago
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆271Updated 4 months ago
- Throttle promise-returning & async functions☆464Updated 3 months ago
- Get callsites from the V8 stack trace API☆262Updated 8 months ago
- Delay a promise a specified amount of time☆608Updated last year
- Retry a promise-returning or async function☆832Updated 3 months ago
- Parse JSON with more helpful errors☆351Updated 11 months ago