Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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 --help

Usage
$ path-exists

Example
$ path-exists foo && echo "exists" || echo "doesn't exist"
```

## Related

- [path-exists](https://github.com/sindresorhus/path-exists) - API for this module