Wondering what’s next for npm?Check out our public roadmap! »

    @brpereyra/directory-exists

    0.0.5 • Public • Published

    NPM Version NPM Downloads

    Directory Exist

    Allows to verify the existence of any directory on the computer.

    Install

    $ npm install @brpereyra/directory-exists

    Examples

    const de = require("@brpereyra/directory-exists");
    const exists = de.directoryExists("path/to/directory");
     
    console.log(exists); // return true if the directory exists

    Or

    const { directoryExists } = require("@brpereyra/directory-exists");
    const exists = directoryExists("path/to/directory");
     
    console.log(exists); // return true if the directory exists

    License

    MIT

    Install

    npm i @brpereyra/directory-exists

    DownloadsWeekly Downloads

    6

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.88 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar