sindresorhus / p-locate
Get the first fulfilled promise that satisfies the provided testing function
☆74Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for p-locate
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- A better `Promise.race()`☆46Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Lazy number range generator☆82Updated 10 months ago
- Node.js releases data☆36Updated last week
- Define a lazily evaluated property on an object☆63Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated last year
- Conditional promise chains☆60Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.☆21Updated 2 years ago
- Linkify GitHub issue references☆46Updated last month
- Get namespaced config from the closest package.json☆120Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Tests whether one path is inside another path☆41Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Transparently adds support for Plug'n'Play to Jest☆25Updated 2 years ago
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Tiny type-safe event emitter☆26Updated 11 months ago