|
|
hace 2 semanas | |
|---|---|---|
| .. | ||
| index.d.ts | hace 2 semanas | |
| index.js | hace 2 semanas | |
| license | hace 2 semanas | |
| package.json | hace 2 semanas | |
| readme.md | hace 2 semanas | |
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