sindresorhus / path-typeLinks
Check if a path is a file, directory, or symlink
☆79Updated 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
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Resolve the path of a globally installed module☆40Updated last year
- Import a globally installed module☆57Updated last year
- Check if your package was installed globally☆69Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Check if your code is running as an npm or yarn script☆64Updated last month
- Get namespaced config from the closest package.json☆120Updated last year
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Lazy number range generator☆82Updated last year
- Get the path of the parent module☆78Updated last month
- Exit the process when the `esc` key is pressed☆57Updated last year
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Returns an array filled with the specified input☆43Updated 3 years ago
- Rename a function☆47Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Create an array without duplicates☆73Updated 4 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Copy a file☆121Updated 2 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Clean and beautiful options for minimist☆53Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago