lhl 6ff0e96ad3 8-4-1 | 1 éve | |
---|---|---|
.. | ||
index.d.ts | 1 éve | |
index.js | 1 éve | |
license | 1 éve | |
package.json | 1 éve | |
readme.md | 1 éve |
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