sindresorhus / p-locate
Get the first fulfilled promise that satisfies the provided testing function
☆74Updated last month
Alternatives and similar repositories for p-locate:
Users that are interested in p-locate are comparing it to the libraries listed below
- 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 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Conditional promise chains☆60Updated 3 years ago
- Linkify GitHub issue references☆46Updated 6 months ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Map over promises serially☆48Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Get the path of the parent module☆77Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Report if your package.json is out of sync with your package-lock.json☆38Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Convert directories to glob compatible strings☆44Updated 5 years ago