sindresorhus / p-whilstLinks
While a condition returns true, calls a function repeatedly, and then resolves the promise
☆55Updated 10 months ago
Alternatives and similar repositories for p-whilst
Users that are interested in p-whilst are comparing it to the libraries listed below
Sorting:
- Conditional promise catch handler☆38Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Conditional promise chains☆62Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Linkify GitHub issue references☆47Updated last month
- Mimic a Node.js HTTP response stream☆59Updated last year
- Clear the terminal cross-platform☆44Updated 3 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 6 months ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Log the value/error of a promise☆26Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if an Array is sorted☆34Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆54Updated 2 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Convert an Observable to a Promise☆49Updated last year
- Lazy number range generator☆81Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Calls a function repeatedly while a condition returns true and then resolves the promise☆36Updated last year
- Simplified high resolution timing