Check if a path exists
MIT License
Bot releases are hidden (Show)
Published by sindresorhus about 3 years ago
https://github.com/sindresorhus/path-exists-cli/compare/v1.0.0...v2.0.0
Get the path to this package - Useful for testing
Get the path of the current directory in Finder (macOS) and Explorer (Windows)
Check if a path is a file, directory, or symlink
Find a file by walking up parent directories
Find the root directory of a Node.js project or npm package
Check if a file path is a text file
Check if a file path is a binary file
Check if an app exists on macOS
Check if your package was installed globally
Get the path to an app (macOS)
Get the first path that exists on disk of multiple paths
Check if a path is in the current working directory
Check if a project is using Yarn
Check if a path is inside another path