sindresorhus / p-wait-for
Wait for a condition to be true
☆156Updated last year
Alternatives and similar repositories for p-wait-for:
Users that are interested in p-wait-for are comparing it to the libraries listed below
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆91Updated last year
- Run some code when the process exits☆282Updated last year
- 🚸 Cross platform children list of a PID.☆123Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- Check if your package was installed globally☆70Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Write a package.json file☆89Updated 6 months ago
- Create an error from multiple errors☆245Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Clean up error stack traces☆339Updated last year
- Get a random item from an array☆57Updated 2 years ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆325Updated 2 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Filter object keys and values into a new object☆101Updated 8 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 3 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last year
- Get a random temporary file or directory path☆426Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Check if the process is running inside a Docker container☆221Updated last year
- Serialize objects to JSON with handling for circular references☆154Updated 7 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Reliably get the terminal window size☆140Updated last year
- Read a package.json file☆166Updated last year
- Write data to a random temporary file☆105Updated 6 months ago
- Filter out OS junk files like .DS_Store and Thumbs.db☆241Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Make a synchronous function have a timeout☆124Updated 5 months ago