Files
JiboSDK/node_modules/is-path-cwd
2026-03-22 03:21:45 +02:00
..
2026-03-22 03:21:45 +02:00
2026-03-22 03:21:45 +02:00
2026-03-22 03:21:45 +02:00
2026-03-22 03:21:45 +02:00
2026-03-22 03:21:45 +02:00

is-path-cwd

Check if a path is the current working directory

Install

$ npm install is-path-cwd

Usage

import isPathCwd from 'is-path-cwd';

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

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

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.