npm.io
4.0.1 • Published 1 year ago

is-path-cwd

Licence
MIT
Version
4.0.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
22

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

Keywords