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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.22latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.22
1.0.10
1.0.00

Package Sidebar

Install

npm i moonwalk

Weekly Downloads

1

Version

1.0.2

License

GPL

Last publish

Collaborators

  • sixpounder