actions/github/codeql-action-v2/node_modules/is-path-cwd
2026-01-31 18:56:04 +01:00
..
index.d.ts initial commit of actions 2026-01-31 18:56:04 +01:00
index.js initial commit of actions 2026-01-31 18:56:04 +01:00
license initial commit of actions 2026-01-31 18:56:04 +01:00
package.json initial commit of actions 2026-01-31 18:56:04 +01:00
readme.md initial commit of actions 2026-01-31 18:56:04 +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