1.0.0 • Published 4 years ago
is-cwd v1.0.0
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 💖"); // false
If you have any suggestion for this package, please fork.
Happy Coding :)
1.0.0
4 years ago