sindresorhus / p-whilstLinks
While a condition returns true, calls a function repeatedly, and then resolves the promise
☆55Updated 9 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:
- 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☆70Updated 4 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Conditional promise catch handler☆38Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Linkify GitHub issue references☆46Updated 10 months ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Conditional promise chains☆61Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Lazy number range generator☆81Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 5 months ago
- Check if an Array is sorted☆34Updated 3 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- Log the value/error of a promise☆26Updated 4 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Allow only access to known object properties using ES2015 Proxy☆86Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Clean up regular expressions☆62Updated 11 months ago
- Convert an Observable to a Promise☆49Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Extract the actual stack of an error☆66Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year