|
|
il y a 3 ans | |
|---|---|---|
| .. | ||
| index.d.ts | il y a 3 ans | |
| index.js | il y a 3 ans | |
| license | il y a 3 ans | |
| package.json | il y a 3 ans | |
| readme.md | il y a 3 ans | |
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