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

Dependencies (1)

Dev Dependencies (0)

    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