Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/path-exists-cli
Check if a path exists
https://github.com/sindresorhus/path-exists-cli
Last synced: about 1 month ago
JSON representation
Check if a path exists
- Host: GitHub
- URL: https://github.com/sindresorhus/path-exists-cli
- Owner: sindresorhus
- License: mit
- Created: 2016-04-02T13:45:09.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T15:54:33.000Z (about 1 year ago)
- Last Synced: 2024-04-14T06:09:33.129Z (7 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 23
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
Awesome Lists containing this project
- awesome - sindresorhus/path-exists-cli - Check if a path exists (others)
README
# path-exists-cli
> Check if a path exists, [cross-platform](https://github.com/sindresorhus/path-exists-cli/issues/1).
## Install
```
$ npm install --global path-exists-cli
```## Usage
```
$ path-exists --helpUsage
$ path-existsExample
$ path-exists foo && echo "exists" || echo "doesn't exist"
```## Related
- [path-exists](https://github.com/sindresorhus/path-exists) - API for this module