sindresorhus / path-typeLinks
Check if a path is a file, directory, or symlink
☆78Updated last year
Alternatives and similar repositories for path-type
Users that are interested in path-type are comparing it to the libraries listed below
Sorting:
- Get the directory of globally installed packages and binaries☆76Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 weeks ago
- Import a globally installed module☆58Updated last year
- Detect the dominant newline character of a string☆55Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Copy a file☆121Updated last month
- Slice a string with ANSI escape codes☆50Updated 3 weeks ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Indent each line in a string☆113Updated 3 years ago
- Get the path of the parent module☆78Updated 2 weeks ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Resolve the path of a globally installed module☆41Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Create an array without duplicates☆72Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 2 weeks ago
- Wordwrap a string with ANSI escape codes☆128Updated 3 weeks ago
- Rename a function☆46Updated last year
- Lazy number range generator☆81Updated last year
- Clean and beautiful options for minimist☆53Updated 3 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Simple wildcard matching☆34Updated 2 weeks ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Returns an array filled with the specified input☆42Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 11 months ago
- Check if a value is an object☆40Updated 4 years ago