codeql-action/node_modules/is-path-cwd
2023-07-13 11:20:39 +01:00
..
index.d.ts Fix dependency incompatibilities 2023-07-13 11:20:39 +01:00
index.js Fix dependency incompatibilities 2023-07-13 11:20:39 +01:00
license Fix dependency incompatibilities 2023-07-13 11:20:39 +01:00
package.json Fix dependency incompatibilities 2023-07-13 11:20:39 +01:00
readme.md Fix dependency incompatibilities 2023-07-13 11:20:39 +01: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