1.0.2 • Published 9 years ago

moonwalk v1.0.2

Weekly downloads
1
License
GPL
Repository
github
Last release
9 years ago

Moonwalk

A simple event driven directory tree walker.

Example usage:

// This program walks all files and directories under /home/sixpounder

var m = new Moonwalker("/home/sixpounder");

m.on("file", function(path) {
    console.log("Found file: " + path);
});

m.on("directory", function(path) {
    console.log("Found directory: " + path);
});

m.on("end", function() {
    console.log("Done");
});

m.walk();