is-cwd
A package which will help you to check is it current working directory or not by the provide path
.
Install
npm i is-cwd
Usage
const isCWD = ; ; // true ; // false
If you have any suggestion for this package, please fork.
Happy Coding :)