sindresorhus / p-wait-for
Wait for a condition to be true
☆155Updated last year
Related projects ⓘ
Alternatives and complementary repositories for p-wait-for
- Run some code when the process exits☆283Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆316Updated last year
- Parse yes/no like values☆266Updated 2 years ago
- Get a random temporary file or directory path☆424Updated last year
- Timeout a promise after a specified amount of time☆274Updated last month
- Ensure a function is only called once☆162Updated last year
- Clean up error stack traces☆337Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆193Updated last year
- Filter object keys and values into a new object☆100Updated 5 months ago
- Create an error from multiple errors☆245Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆207Updated 11 months ago
- Make a synchronous function have a timeout☆124Updated 2 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Serialize objects to JSON with handling for circular references☆149Updated 4 months ago
- Memoize promise-returning & async functions☆396Updated last year
- 🚸 Cross platform children list of a PID.☆124Updated last year
- Sort the keys of an object☆101Updated 2 months ago
- Check if stdout or stderr is interactive☆115Updated last year
- Reliably get the terminal window size☆140Updated last year
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆90Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated 3 weeks ago
- Promisify an event by waiting for it to be emitted☆429Updated 8 months ago
- Strip leading whitespace from each line in a string☆135Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆158Updated 3 years ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Simple micro templating☆362Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- 🕐 Performance timings for HTTP requests☆192Updated 3 years ago