dir-check
v1.0.0
Published
Check if path is a dir
Downloads
136
Readme
Dir check
Check if a path is a directory
Installation
npm install --save dir-check
Usage
const check = require('dir-check');
if (check('my-dir')) {
console.log('is a dir');
}
Working example in test.js
License
MIT