DigitalConsumer.FixMyGlass/node_modules/is-path-cwd
2021-09-20 18:29:11 -04:00
..
index.d.ts my commit 2021-09-20 18:29:11 -04:00
index.js my commit 2021-09-20 18:29:11 -04:00
license my commit 2021-09-20 18:29:11 -04:00
package.json my commit 2021-09-20 18:29:11 -04:00
readme.md my commit 2021-09-20 18:29:11 -04:00

is-path-cwd Build Status

Check if a path is the current working directory

Install

$ npm install is-path-cwd

Usage

const isPathCwd = require('is-path-cwd');

isPathCwd(process.cwd());
//=> true

isPathCwd('unicorn');
//=> false

License

MIT © Sindre Sorhus