Skip to content

sindresorhus/path-exists-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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