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