0.0.5 • Published 4 years ago

@brpereyra/directory-exists v0.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

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