sindresorhus / p-whilst
While a condition returns true, calls a function repeatedly, and then resolves the promise
☆54Updated 6 months ago
Alternatives and similar repositories for p-whilst:
Users that are interested in p-whilst are comparing it to the libraries listed below
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- 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
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Conditional promise chains☆60Updated 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
- A better `Promise.race()`☆46Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- 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
- Measure the time a promise takes to resolve☆70Updated last year
- Log the value/error of a promise☆26Updated 4 years ago
- Linkify GitHub issue references☆46Updated 7 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- Simple wildcard matching☆34Updated 3 years ago
- Check if an Array is sorted☆34Updated 3 years ago
- Easy CORS handling for micro☆38Updated 7 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Rename a function☆46Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Checks if your dependencies have package.json files config or an .npmignore for packaging☆47Updated 8 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Returns an array filled with the specified input☆42Updated 2 years ago