3.0.0 • Published 3 years ago
is-path-cwd v3.0.0
is-path-cwd
Check if a path is the current working directory
Install
$ npm install is-path-cwd
Usage
import isPathCwd from 'is-path-cwd';
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false