sindresorhus / locate-pathLinks
Get the first path that exists on disk of multiple paths
☆62Updated 3 months 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☆55Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Simple wildcard matching☆34Updated 3 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Slice a string with ANSI escape codes☆50Updated 3 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Check if a file path is a binary file☆49Updated last year
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Check if a number is in a given range☆22Updated 4 years ago
- Check if a value is an object☆42Updated 4 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Check if an Array is sorted☆35Updated 4 years ago
- Check if a value is a function☆29Updated 4 years ago
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Convert a time string to seconds: '0017' → 1337☆36Updated 4 years ago
- Linkify GitHub issue references☆47Updated 3 months ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Regular expression for matching a shebang line☆48Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Get the PATH environment variable key cross-platform☆46Updated 3 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 10 months ago
- Repeat a string - fast☆35Updated 4 years ago