walks
v0.1.0
Published
A simple, easy to use, featured walk function for file system.
Readme
Features:
- Easy to use.
- Zero dependency.
- Can excludes directories or files, which can speeds up significantly.
- Flow controls.
usage:
walk('.', iterateCallback(err, filepath, stats, next), doneCallback(err));
walk({dir:'.', excludes:['node_modules']}, function(err, filepath, stats) {}, function(err) {});
walk({dir:'.', type:'.js'});
walk({dir:'.', type:'file'});
walk({dir:'.', type:'directory'});
walk({dir:'.'});
walk({dir:'.'});
walk({dir:'.', sum:{}});