sindresorhus / p-timeout
Timeout a promise after a specified amount of time
☆283Updated 2 months ago
Alternatives and similar repositories for p-timeout:
Users that are interested in p-timeout are comparing it to the libraries listed below
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆353Updated 8 months ago
- Clean up error stack traces☆339Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆325Updated 2 months ago
- Delay a promise a specified amount of time☆608Updated last year
- Create a promise that can be canceled☆441Updated 2 years ago
- Get a random temporary file or directory path☆427Updated last year
- Memoize promise-returning & async functions☆401Updated last year
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Parse yes/no like values☆267Updated 2 years ago
- Serialize/deserialize an error into a plain object☆553Updated last month
- Debounce promise-returning & async functions☆215Updated 10 months ago
- Run some code when the process exits☆282Updated last year
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Extends minimatch.match() with support for multiple patterns☆301Updated last year
- Find a file or directory by walking up parent directories☆591Updated 8 months ago
- Retry a promise-returning or async function☆833Updated 3 months ago
- Get callsites from the V8 stack trace API☆262Updated 8 months ago
- Simple “Least Recently Used” (LRU) cache☆687Updated last year
- A cacheable dns.lookup(…) that respects TTL☆196Updated last year
- Deterministic JSON.stringify() - a faster version of @substack's json-stable-strigify without jsonify.☆298Updated last year
- Tiny queue data structure☆377Updated 8 months ago
- npm's content-addressable cache☆283Updated 3 months ago
- Split Streams3 style☆285Updated 8 months ago
- Create an error from multiple errors☆245Updated last year
- Throttle promise-returning & async functions☆464Updated 3 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Shared TypeScript config for my projects☆360Updated 3 months ago
- Read the closest package.json file☆266Updated last year