sindresorhus / locate-pathLinks
Get the first path that exists on disk of multiple paths
☆59Updated 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 path is a file, directory, or symlink☆78Updated last year
- Check if a file path is a binary file☆46Updated last year
- Simple wildcard matching☆34Updated 3 years ago
- Slice a string with ANSI escape codes☆50Updated last year
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a number is in a given range☆21Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Returns an array filled with the specified input☆42Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 6 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 10 months ago
- Linkify GitHub issue references☆47Updated last month
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Check if an Array is sorted☆34Updated 4 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Regular expression for matching a shebang line☆46Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get the version of a binary in semver format☆41Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Clean and beautiful options for minimist☆53Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year