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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i is-cwd

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.07 kB

Total Files

3

Last publish

Collaborators

  • mayurchhapra