Awesome
path-exists-cli
Check if a path exists, cross-platform.
Install
$ npm install --global path-exists-cli
Usage
$ path-exists --help
Usage
$ path-exists <path>
Example
$ path-exists foo && echo "exists" || echo "doesn't exist"
Related
- path-exists - API for this module