sindresorhus / p-timeout
Timeout a promise after a specified amount of time
☆274Updated last month
Related projects ⓘ
Alternatives and complementary repositories for p-timeout
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated 3 weeks ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆315Updated last year
- Memoize promise-returning & async functions☆396Updated last year
- npm's content-addressable cache☆279Updated last month
- Simple “Least Recently Used” (LRU) cache☆678Updated 11 months ago
- Delay a promise a specified amount of time☆609Updated last year
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Import a module while bypassing the cache☆284Updated 5 months ago
- Get a random temporary file or directory path☆424Updated last year
- Debounce promise-returning & async functions☆211Updated 7 months ago
- Split Streams3 style☆280Updated 5 months ago
- node byte string parser☆461Updated 4 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆350Updated 5 months ago
- Create a promise that can be canceled☆441Updated 2 years ago
- Retry a promise-returning or async function☆795Updated this week
- Make a directory and its parents if needed - Think `mkdir -p`☆474Updated 6 months ago
- Safely and quickly serialize JavaScript objects☆348Updated 6 months ago
- Run some code when the process exits☆283Updated last year
- Tiny queue data structure☆360Updated 4 months ago
- Clean up error stack traces☆337Updated last year
- Read the closest package.json file☆258Updated last year
- An inter-process and inter-machine lockfile utility that works on a local or network file system.☆240Updated last year
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Parse JSON with more helpful errors☆347Updated 8 months ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆207Updated 11 months ago
- Deterministic JSON.stringify() - a faster version of @substack's json-stable-strigify without jsonify.☆288Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Serialize/deserialize an error into a plain object☆539Updated 2 months ago
- A cacheable dns.lookup(…) that respects TTL☆193Updated 9 months ago