1.0.0 • Published 4 years ago

is-cwd v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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 :)