sindresorhus / p-locateLinks
Get the first fulfilled promise that satisfies the provided testing function
☆76Updated 6 months ago
Alternatives and similar repositories for p-locate
Users that are interested in p-locate are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Conditional promise chains☆62Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 6 months ago
- Get the path of the caller module☆65Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 10 months ago
- Get the path of the parent module☆78Updated last year
- Make a function mimic another one☆95Updated 10 months ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Truncate a URL to a specific length☆61Updated 4 years ago
- Linkify GitHub issue references☆47Updated last month
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆54Updated 2 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 6 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Rename a function☆46Updated last year
- Iterate over promises serially☆50Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆91Updated last year
- Filter object keys and values into a new object☆104Updated last year