{"_id":"walker","_rev":"1328023","name":"walker","description":"A simple directory tree walker.","dist-tags":{"latest":"1.0.8"},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"time":{"modified":"2021-10-26T08:51:00.000Z","created":"2011-02-25T03:14:27.035Z","1.0.8":"2021-10-23T14:03:34.682Z","1.0.7":"2015-05-21T04:26:20.600Z","1.0.6":"2014-04-06T00:45:18.489Z","1.0.5":"2013-10-09T18:39:46.815Z","1.0.3":"2011-08-17T21:07:44.294Z","1.0.2":"2011-07-27T17:41:46.799Z","1.0.1":"2011-07-24T19:53:40.513Z","1.0.0":"2011-07-24T19:45:54.486Z","0.0.4":"2011-04-18T02:16:54.498Z","0.0.3":"2011-02-25T03:14:27.035Z","0.0.1":"2011-02-25T03:14:27.035Z"},"users":{"mightyjongyo":true,"shuoshubao":true,"monjer":true,"dunstontc":true,"xtx1130":true,"wisetc":true},"author":{"name":"Naitik Shah","email":"n@daaku.org"},"repository":{"type":"git","url":"git+https://github.com/daaku/nodejs-walker.git"},"versions":{"1.0.8":{"name":"walker","description":"A simple directory tree walker.","version":"1.0.8","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":"git+https://github.com/daaku/nodejs-walker.git"},"scripts":{"test":"NODE_PATH=./lib mocha --ui exports"},"dependencies":{"makeerror":"1.0.12"},"devDependencies":{"mocha":"9.1.3"},"license":"Apache-2.0","gitHead":"afedf7fc2dd65551583c8de1bb1c68640d098f4b","bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"_id":"walker@1.0.8","_nodeVersion":"16.11.1","_npmVersion":"8.1.0","dist":{"shasum":"bd498db477afe573dc04185f011d3ab8a8d7653f","size":2227,"noattachment":false,"key":"/walker/-/walker-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.8.tgz"},"_npmUser":{"name":"daaku","email":"n@daaku.org"},"directories":{},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/walker_1.0.8_1634997814524_0.6480255352259674"},"_hasShrinkwrap":false,"publish_time":1634997814682,"_cnpm_publish_time":1634997814682},"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","size":2269,"noattachment":false,"key":"/walker/-/walker-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.7.tgz"},"directories":{},"publish_time":1432182380600,"_cnpm_publish_time":1432182380600,"_hasShrinkwrap":false},"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","size":2245,"noattachment":false,"key":"/walker/-/walker-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/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":{},"publish_time":1396745118489,"_cnpm_publish_time":1396745118489,"_hasShrinkwrap":false},"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"},"readmeFilename":"readme.md","bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"_id":"walker@1.0.5","dist":{"shasum":"6aac711dcacafddf36fbc0b7098b7394856380bc","size":2266,"noattachment":false,"key":"/walker/-/walker-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/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":{},"publish_time":1381343986815,"_cnpm_publish_time":1381343986815,"_hasShrinkwrap":false},"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","size":1824,"noattachment":false,"key":"/walker/-/walker-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.3.tgz"},"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"directories":{},"publish_time":1313615264294,"_cnpm_publish_time":1313615264294,"_hasShrinkwrap":false},"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","size":3337,"noattachment":false,"key":"/walker/-/walker-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.2.tgz"},"directories":{},"publish_time":1311788506799,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1311788506799,"_hasShrinkwrap":false},"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","size":1902,"noattachment":false,"key":"/walker/-/walker-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.1.tgz"},"directories":{},"publish_time":1311537220513,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1311537220513,"_hasShrinkwrap":false},"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","size":1912,"noattachment":false,"key":"/walker/-/walker-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-1.0.0.tgz"},"directories":{},"publish_time":1311536754486,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1311536754486,"_hasShrinkwrap":false},"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","size":4231515,"noattachment":false,"key":"/walker/-/walker-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-0.0.4.tgz"},"directories":{},"publish_time":1303093014498,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1303093014498,"_hasShrinkwrap":false},"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","size":1518,"noattachment":false,"key":"/walker/-/walker-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-0.0.3.tgz"},"publish_time":1298603667035,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1298603667035,"_hasShrinkwrap":false},"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":{"shasum":"121a2c96eddb794dc3347c2adae133732dc9a802","size":2309,"noattachment":false,"key":"/walker/-/walker-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/walker/download/walker-0.0.1.tgz"},"publish_time":1298603667035,"maintainers":[{"name":"daaku","email":"n@daaku.org"}],"_cnpm_publish_time":1298603667035,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/daaku/nodejs-walker","bugs":{"url":"https://github.com/daaku/nodejs-walker/issues"},"license":"Apache-2.0"}