file-walker
v0.0.2
Published
A Simple file/directory traversal (recusive lookup)
Downloads
790
Readme
A Simple file/directory traversal module
Callback arguments
- files - an array of files/directories in current directory e.g.
['dummy', 'test.js']
- dir - directory name e.g.
'./test'
- level - Current directory level starting from
0
Example usage
var walk = require('file-walker');
walk('./directory', function(files, dir, level) {
// your logic
});