sindresorhus / p-wait-for
Wait for a condition to be true
☆158Updated 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
- 🚸 Cross platform children list of a PID.☆123Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆326Updated 2 months ago
- Run some code when the process exits☆282Updated last year
- Reliably get the terminal window size☆141Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Check whether a package or organization name is available on npm☆169Updated last year
- Check if your package was installed globally☆70Updated last year
- Clean up error stack traces☆339Updated last year
- Get a random temporary file or directory path☆427Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆164Updated 4 months ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm☆102Updated this week
- Truncate a string to a specific width in the terminal☆87Updated last year
- A Map implementation with expirable items☆93Updated 3 years ago
- Parse yes/no like values☆267Updated 2 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Create an error from multiple errors☆245Updated last year
- Filter object keys and values into a new object☆101Updated 9 months ago
- Get a random item from an array☆57Updated 2 years ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆159Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Write data to a random temporary file☆105Updated 7 months ago
- Find the closest package.json file☆162Updated last year