A recursive directory traverser that aims to make handling complex folder structures extremely easy.
$ npm install Travis
Usage is quite simple. All you have to do is
new Travis(path), listen for various events on it, and
Please note that this does not ignore files like
thumbs.db, or any other system/dot/hidden files. If you don't want them, ignore them yourself, you lazy bum.
var Travis = ;var travis = './folder/';travis;travis;travis;travis;
Emitted for each directory the traverser finds.
Recieves the path of the containing directory and the name of this directory.
Emitted for each file the traverser finds.
Recieves the path of the containing directory and the name of the file.
Emitted when the entire structure has been traversed.
Emitted when something breaks.
Recieves the error.
If this isn't your issue, file a bug report. If you're not lazy, file a pull request too.
You can also find me on Freenode IRC as Nuck, just ping me in #Node.js and I'll try to help you out.