readme.md
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
| Name | Last Update |
Last Commit
2a09d1a4
–
添加宜春 天水 宣化
History
|
|---|---|---|
| .. | ||
| index.js | Loading commit data... | |
| package.json | Loading commit data... | |
| readme.md | Loading commit data... |
Check if a path is CWD
$ npm install --save is-path-cwd
var isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
MIT © Sindre Sorhus