sindresorhus / locate-path
Get the first path that exists on disk of multiple paths
☆58Updated 2 years ago
Alternatives and similar repositories for locate-path
Users that are interested in locate-path are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a file path is a binary file☆44Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Simple wildcard matching☆34Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- A better `Promise.race()`☆46Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if an Array is sorted☆34Updated 3 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Linkify GitHub issue references☆46Updated 8 months ago
- Slice a string with ANSI escape codes☆47Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Check if a file path is a compressed file☆17Updated last year
- Lazy number range generator☆81Updated last year
- A list of directories you should ignore by default☆23Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 3 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 7 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year