You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
474 B
474 B
is-path-cwd
Check if a path is CWD
Install
$ npm install --save is-path-cwd
Usage
var isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
License
MIT © Sindre Sorhus