sindresorhus / p-whilstLinks
While a condition returns true, calls a function repeatedly, and then resolves the promise
☆55Updated 11 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
- Conditional promise catch handler☆38Updated 4 years ago
- Linkify GitHub issue references☆46Updated 2 weeks ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- Conditional promise chains☆62Updated 4 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Get an array of parent directories including itself☆26Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆54Updated 2 weeks ago
- Lazy number range generator☆81Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Convert an Observable to a Promise☆49Updated last year
- Simple wildcard matching☆34Updated last week
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆78Updated last week
- Get metadata on the default editor or a specific editor☆53Updated 2 weeks ago
- Hook and modify stdout and stderr☆54Updated 2 weeks ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated last week