{"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"keywords":["utils","fs","filesystem"],"dist-tags":{"latest":"1.0.7"},"author":{"name":"Naitik Shah","email":"n@daaku.org"},"description":"A simple directory tree walker.","readme":"walker [![Build Status](https://secure.travis-ci.org/daaku/nodejs-walker.png)](http://travis-ci.org/daaku/nodejs-walker)\n======\n\nA nodejs directory walker. Broadcasts events for various file types as well as\na generic \"entry\" event for all types and provides the ability to prune\ndirectory trees. This shows the entire API; everything is optional:\n\n```javascript\nWalker('/etc/')\n  .filterDir(function(dir, stat) {\n    if (dir === '/etc/pam.d') {\n      console.warn('Skipping /etc/pam.d and children')\n      return false\n    }\n    return true\n  })\n  .on('entry', function(entry, stat) {\n    console.log('Got entry: ' + entry)\n  })\n  .on('dir', function(dir, stat) {\n    console.log('Got directory: ' + dir)\n  })\n  .on('file', function(file, stat) {\n    console.log('Got file: ' + file)\n  })\n  .on('symlink', function(symlink, stat) {\n    console.log('Got symlink: ' + symlink)\n  })\n  .on('blockDevice', function(blockDevice, stat) {\n    console.log('Got blockDevice: ' + blockDevice)\n  })\n  .on('fifo', function(fifo, stat) {\n    console.log('Got fifo: ' + fifo)\n  })\n  .on('socket', function(socket, stat) {\n    console.log('Got socket: ' + socket)\n  })\n  .on('characterDevice', function(characterDevice, stat) {\n    console.log('Got characterDevice: ' + characterDevice)\n  })\n  .on('error', function(er, entry, stat) {\n    console.log('Got error ' + er + ' on entry ' + entry)\n  })\n  .on('end', function() {\n    console.log('All files traversed.')\n  })\n```\n\nYou specify a root directory to walk and optionally specify a function to prune\nsub-directory trees via the `filterDir` function. The Walker exposes a number\nof events, broadcasting various file type events a generic error event and\nfinally the event to signal the end of the process.\n","repository":{"type":"git","url":"https://github.com/daaku/nodejs-walker"},"users":{"mightyjongyo":true,"shuoshubao":true,"monjer":true},"bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"license":"Apache-2.0","versions":{"0.0.1":{"name":"walker","description":"A simple directory tree walker.","version":"0.0.1","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"directories":{"lib":"./lib"},"engines":{"node":">= 0.2.3"},"_id":"walker@0.0.1","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-0.0.1.tgz","shasum":"121a2c96eddb794dc3347c2adae133732dc9a802"}},"0.0.3":{"name":"walker","description":"A simple directory tree walker.","version":"0.0.3","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"index","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"engines":{"node":">= 0.4.1"},"_id":"walker@0.0.3","_engineSupported":true,"_npmVersion":"0.3.9","_nodeVersion":"v0.4.1","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"ea65527ddb4c208a78a0a38af9e546661146b4ad","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-0.0.3.tgz"}},"0.0.4":{"name":"walker","description":"A simple directory tree walker.","version":"0.0.4","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"index","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"scripts":{"test":"./node_modules/.bin/expresso"},"engines":{"node":">= 0.4.1"},"dependencies":{},"devDependencies":{},"_id":"walker@0.0.4","_engineSupported":true,"_npmVersion":"1.0.1rc9","_nodeVersion":"v0.4.6","_defaultsLoaded":true,"dist":{"shasum":"05e0e7554d3c2b4780ba7b4dbab005dc04fd956f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-0.0.4.tgz"},"directories":{}},"1.0.0":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.0","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"index","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"scripts":{"test":"./node_modules/.bin/expresso"},"dependencies":{"makeerror":">= 1.0.0"},"devDependencies":{"expresso":">= 0.8.1"},"engines":{"node":">= 0.4.1"},"_npmJsonOpts":{"file":"/Users/naitik/.npm/walker/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"walker@1.0.0","_engineSupported":true,"_npmVersion":"1.0.18","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"a88298c29997ccca7854bc3503a0fe5a82e4086d","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.1","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"index","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"scripts":{"test":"./node_modules/.bin/expresso"},"dependencies":{"makeerror":">= 1.0.0"},"devDependencies":{"expresso":">= 0.8.1"},"engines":{"node":">= 0.4.1"},"_npmJsonOpts":{"file":"/Users/naitik/.npm/walker/1.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"walker@1.0.1","_engineSupported":true,"_npmVersion":"1.0.18","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"76af7f844ed64f712bd8fbb9c430cea0b095e08b","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.1.tgz"},"directories":{}},"1.0.2":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.2","homepage":"https://github.com/nshah/nodejs-walker","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"lib/walker","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"scripts":{"test":"./node_modules/.bin/expresso -c"},"dependencies":{"makeerror":">= 1.0.0"},"devDependencies":{"expresso":">= 0.8.1"},"engines":{"node":">= 0.4.1"},"_npmJsonOpts":{"file":"/Users/naitik/.npm/walker/1.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"walker@1.0.2","_engineSupported":true,"_npmVersion":"1.0.18","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"b623aa49b1fc88303f6e16dbea69e53b1550f19a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.2.tgz"},"directories":{}},"1.0.3":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.3","homepage":"https://github.com/nshah/nodejs-walker","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"lib/walker","repository":{"type":"git","url":"git://github.com/nshah/nodejs-walker.git"},"scripts":{"test":"./node_modules/.bin/expresso -c"},"dependencies":{"makeerror":">= 1.0.0"},"devDependencies":{"expresso":">= 0.8.1"},"engines":{"node":">= 0.4.1"},"_npmJsonOpts":{"file":"/Users/naitik/.npm/walker/1.0.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"walker@1.0.3","_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"5e6802d473533e769db74b54e8d5dbdf94a773a2","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.3.tgz"},"maintainers":[{"name":"naitik","email":"n@daaku.org"}],"directories":{}},"1.0.5":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.5","homepage":"https://github.com/daaku/nodejs-walker","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"lib/walker","repository":{"type":"git","url":"https://github.com/daaku/nodejs-walker"},"scripts":{"test":"NODE_PATH=./lib mocha --ui exports"},"dependencies":{"makeerror":"1.0.x"},"devDependencies":{"mocha":"0.12.x"},"engines":{"node":"0.6.x"},"bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"_id":"walker@1.0.5","dist":{"shasum":"6aac711dcacafddf36fbc0b7098b7394856380bc","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.5.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"daaku","email":"n@daaku.org"},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"directories":{}},"1.0.6":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.6","homepage":"https://github.com/daaku/nodejs-walker","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"lib/walker","repository":{"type":"git","url":"https://github.com/daaku/nodejs-walker"},"scripts":{"test":"NODE_PATH=./lib mocha --ui exports"},"dependencies":{"makeerror":"1.0.x"},"devDependencies":{"mocha":"0.12.x"},"bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"_id":"walker@1.0.6","dist":{"shasum":"4fe19098c06f1c16f19429acfc483429344da250","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.6.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"daaku","email":"n@daaku.org"},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"directories":{}},"1.0.7":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.7","homepage":"https://github.com/daaku/nodejs-walker","author":{"name":"Naitik Shah","email":"n@daaku.org"},"keywords":["utils","fs","filesystem"],"main":"lib/walker","repository":{"type":"git","url":"https://github.com/daaku/nodejs-walker"},"scripts":{"test":"NODE_PATH=./lib mocha --ui exports"},"dependencies":{"makeerror":"1.0.x"},"devDependencies":{"mocha":"0.12.x"},"license":"Apache-2.0","gitHead":"3f78f80d026fd1efd2adc2f8927a0a4ccae35644","bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"_id":"walker@1.0.7","_shasum":"2f7f9b8fd10d677262b18a884e28d19618e028fb","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"daaku","email":"n@daaku.org"},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"dist":{"shasum":"2f7f9b8fd10d677262b18a884e28d19618e028fb","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/walker/-/walker-1.0.7.tgz"},"directories":{}}},"name":"walker","time":{"modified":"2017-03-31T07:34:49.681Z","created":"2011-02-25T03:14:27.035Z","0.0.1":"2011-02-25T03:14:27.035Z","0.0.3":"2011-02-25T03:14:27.035Z","0.0.4":"2011-04-18T02:16:54.498Z","1.0.0":"2011-07-24T19:45:54.486Z","1.0.1":"2011-07-24T19:53:40.513Z","1.0.2":"2011-07-27T17:41:46.799Z","1.0.3":"2011-08-17T21:07:44.294Z","1.0.5":"2013-10-09T18:39:46.815Z","1.0.6":"2014-04-06T00:45:18.489Z","1.0.7":"2015-05-21T04:26:20.600Z"},"readmeFilename":"readme.md","homepage":"https://github.com/daaku/nodejs-walker"}