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:
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Copy a file☆122Updated 5 months ago
- Import a globally installed module☆59Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Updated last year
- Check if your package was installed globally☆71Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Updated 4 years ago
- Resolve the path of a globally installed module☆42Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Create an array without duplicates☆74Updated 4 years ago
- Indent each line in a string☆115Updated 3 years ago
- Rename a function☆46Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Lazy number range generator☆83Updated 2 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Extract the article title of a HTML document☆56Updated 4 months ago
- Get the user's default shell☆41Updated 4 months ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 5 years ago
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Run promise-returning & async functions a specific number of times concurrently☆41Updated 4 years ago