|
|
hace 3 años | |
|---|---|---|
| .. | ||
| index.d.ts | hace 3 años | |
| index.js | hace 3 años | |
| license | hace 3 años | |
| package.json | hace 3 años | |
| readme.md | hace 3 años | |
Check if a path is the current working directory
$ npm install is-path-cwd
const isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
MIT © Sindre Sorhus