sindresorhus / p-locate
Get the first fulfilled promise that satisfies the provided testing function
☆74Updated 2 years ago
Alternatives and similar repositories for p-locate:
Users that are interested in p-locate are comparing it to the libraries listed below
- Create a lazily evaluated value☆69Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Lazy number range generator☆82Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Define a lazily evaluated property on an object☆64Updated last year
- Linkify GitHub issue references☆46Updated 4 months ago
- Get namespaced config from the closest package.json☆121Updated last year
- Report if your package.json is out of sync with your package-lock.json☆38Updated 2 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Get the path of the parent module☆77Updated last year
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Map over promises serially☆48Updated 3 years ago
- ES Proposal spec-compliant shim for AggregateError☆14Updated 10 months ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Conditional promise chains☆60Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago