Skip to content

allows to verify the existence of any directory on the computer

License

Notifications You must be signed in to change notification settings

brpereyra/directory-exists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

allows to verify the existence of any directory on the computer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published