DigitalConsumer.FixMyGlass/node_modules/is-path-cwd
2021-09-20 17:57:19 -04:00
..
index.d.ts initial commit 2021-09-20 17:57:19 -04:00
index.js initial commit 2021-09-20 17:57:19 -04:00
license initial commit 2021-09-20 17:57:19 -04:00
package.json initial commit 2021-09-20 17:57:19 -04:00
readme.md initial commit 2021-09-20 17:57:19 -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