moonwalk

1.0.2 • Public • Published

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();

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i moonwalk

      Weekly Downloads

      1

      Version

      1.0.2

      License

      GPL

      Last publish

      Collaborators

      • sixpounder