Need private packages and team management tools?Check out npm Teams »

is-cwd

1.0.0 • Public • Published

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

Install

npm i is-cwd

DownloadsWeekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.07 kB

Total Files

3

Last publish

Collaborators

  • avatar