0.1.0 • Published 6 years ago

walks v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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:{}});