is-cwd
v1.0.0
Published
To check the path, if its current working directory or not.
Downloads
7
Maintainers
Readme
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 = require("is-cwd");
isCWD("/Users/name/Documents/projects"); // true
isCWD("JavaScript is Awesome 💖"); // falseIf you have any suggestion for this package, please fork.
Happy Coding :)
