sindresorhus / path-typeLinks
Check if a path is a file, directory, or symlink
☆80Updated 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 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Import a globally installed module☆57Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Resolve the path of a globally installed module☆40Updated 2 years ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Check if argv has a specific flag☆95Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Check if your package was installed globally☆69Updated 2 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Copy a file☆121Updated 3 months ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Clean and beautiful options for minimist☆53Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Rename a function☆47Updated 2 years ago