1.0.0 • Published 8 years ago
dir-check v1.0.0
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
1.0.0
8 years ago