kc-dwalk
v1.0.16
Published
[nodejs] Return directories in path
Downloads
4
Maintainers
Readme
DWalk
[nodejs] Return directories in path
Install
npm install kc-dwalk
Use
var dwalk = require('kc-dwalk');
var dirs = dwalk('my-dir');
console.log(dirs);
// If you don't need to list recursively:
var dirs = dwalk('my-dir', false);
console.log(dirs);