{"_id":"diveSync","_rev":"15-321ad44e95ed979ab5d60ee96356787d","name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.0":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de"},"version":"0.0.0","main":"./lib/diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"_npmJsonOpts":{"file":"/home/paul/.npm/diveSync/0.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"diveSync@0.0.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"3e76779628160b2cf5ad030c3cbe070a7c7c9380","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.0.0.tgz","integrity":"sha512-kRZYNj+eHPAhpf5wAH3nsif0U/7iXskZbVcCXTGygL4xdHkk7PzpTQ14cw4ga+1nGcNN7YWwFVxRLxiovPDgAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOPevbkHl1GsoJwblqVWEAy/Ur9d+4nDJwktefdFOZYAiEAr69Q9NUlH74Slmw5ghfDU6xLe5ar0cqKpJvt1brZf5I="}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.1.0":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"version":"0.1.0","main":"diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"_npmJsonOpts":{"file":"/home/paul/.npm/diveSync/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"diveSync@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"b2c8298a572203ea498308cecd6b50056cd64df5","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.1.0.tgz","integrity":"sha512-UuI6sZZhQ7VqQkezoVZDk2GWvdrpB48wIG6N06Pza6G1yW7C/YkGOIFx0hUmXWa34szlCiaOttAtCvKvbF5cTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZ/uMJkXFptnU1jkFO91Y0lWwqP4ImPWYz5/zBnrJzRAiAVOPfsIEiRSTxln2fenWD9qubBgB7YKC1YKlr7mRv49w=="}]},"scripts":{},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.1.1":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"contributors":[{"name":"Dave Geddes"}],"version":"0.1.1","main":"diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"diveSync@0.1.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"90ecd4c8249e418044eca7f7380b479253f6149f","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.1.1.tgz","integrity":"sha512-8uBu1lGzpitd7mIWzXVhYi6mEvY1P5LMiUWtbBNp1xxVfdnrZ01SOvj3U69TB3GMF+dCu5Ie1GFlJ9KlG1ljqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwtcRedj7i9WXGxmGl6WmoMDDo2nBsKLJYpK+Dylr8mAIgUl6bx0KzhFYnLKv0/RQtZtEWxLpw7AsCrjqAnEaBZIk="}]},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.2.0":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"contributors":[{"name":"Dave Geddes"}],"version":"0.2.0","main":"diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"_npmUser":{"name":"pvorb","email":"paul@vorb.de"},"_id":"diveSync@0.2.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"036c6e9651a5031c723eba475cd9a4e02b679621","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.2.0.tgz","integrity":"sha512-g84KsWyUSLbPVW2BIups8KJw5n3o6rj1YHM/UrY4hl19NAuz6iMpz5U3v4qNJDXS9XugxYluLt2Z9eY5yqmUzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOqRz3LwyCKgZ1sLLE4zif4ElDsRzGpvHkpCf9V/mb3gIhAKRF1N/EYOSd7fkZA/9OQ4R95Cy4OSBNFYRWjzHK1RSb"}]},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.2.1":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"contributors":[{"name":"Dave Geddes"}],"version":"0.2.1","main":"diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"homepage":"https://github.com/pvorb/node-diveSync","_id":"diveSync@0.2.1","dist":{"shasum":"dd0eae60df942cf999b4e69d7090308e4ab7cded","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.2.1.tgz","integrity":"sha512-hlnO51HWao3COD1V/KrycJDmzFoWjg1eWenFZu2C0zvNt4l2NutjZb+lKtgdhtxwvCXzAtNowgXD0+rxqQhogg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+kieTp85+ml0PMg1oL9R07IxOS2iJ++1pzm4gE++8bAIgKWi6t+sUvJ1A9kzjJQNHtFaLGs6xbd36ZSxLwm9SIEE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"pvorb","email":"paul@vorba.ch"},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}]},"0.3.0":{"name":"diveSync","description":"walk through directory trees and apply an action on every file (synchronous dive)","author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"contributors":[{"name":"Dave Geddes"},{"name":"Chris Marsh"}],"version":"0.3.0","main":"diveSync.js","repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"tags":["recursive","file walking","directories","sync"],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"engines":{"node":">=0.4.0"},"dependencies":{"append":">=0.1.0"},"gitHead":"ac2eb0c5f4b344490dd397b843662e1ba800afd8","homepage":"https://github.com/pvorb/node-diveSync","_id":"diveSync@0.3.0","scripts":{},"_shasum":"d9980493ae33beec36f4fec6f171ff218130cc12","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"pvorb","email":"paul@vorba.ch"},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"dist":{"shasum":"d9980493ae33beec36f4fec6f171ff218130cc12","tarball":"https://registry.npmjs.org/diveSync/-/diveSync-0.3.0.tgz","integrity":"sha512-BQjohiPLYrLa4pLoXF6biOAEFoyoAQWxSCCdyIyGRkL32d9zFhb56bs8Ki6VjoThTnHHil9Zrmj3v7rGf5H3qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhFeOyijrDBzm1Li140mg3vxpkI1+qyHPeo1Xh54FKlAiEAra/LTHGSMe/p/HQNrAU9kYHm736joOuAZ2A0I/x/W08="}]}}},"maintainers":[{"name":"pvorb","email":"paul@vorb.de"}],"time":{"modified":"2022-06-15T05:33:09.479Z","created":"2011-09-20T09:07:54.948Z","0.0.0":"2011-09-20T09:07:56.596Z","0.1.0":"2011-09-27T20:43:06.382Z","0.1.1":"2011-11-11T13:06:25.365Z","0.2.0":"2011-11-12T01:55:59.038Z","0.2.1":"2014-04-17T08:11:34.828Z","0.3.0":"2015-02-10T12:05:51.139Z"},"author":{"name":"Paul Vorbach","email":"paul@vorb.de","url":"https://vorb.de"},"repository":{"type":"git","url":"git://github.com/pvorb/node-diveSync.git"},"readme":"**diveSync** is a tiny module for node that is able to recursively walk (_„dive“_) a directory tree. **diveSync** is the synchronous version of [dive](//github.com/pvorb/node-dive).\n\n## Usage\n\n```javascript\nvar diveSync = require(\"diveSync\");\n\ndiveSync(process.cwd(), function(err, file) {\n  if (err) throw err;\n\n  console.log(file);\n});\n```\n\nThis will list all files in your current working directory. The function call blocks until all files are handled.\n\nYou may also apply options to the function call.\n\n```javascript\ndive(dir[, opt], action);\n```\n\nThe default options are\n\n```javascript\n{\n  recursive: true,    // - If set to false, this will ignore subdirectories.\n  all: false,         // - If set to true, this will show \"dot files\" and\n                      //   files in \"dot directories\", e.g. \".gitinore\" or\n                      //   \".git/HEAD\".\n  directories: false  // - If set to true, this will show directories, too.\n  filter: function filter(path, dir) { return true; }\n                      // - Function that returns true for all paths that should\n                      //   not be ignored.\n}\n```\n\n`filter` takes two arguments `(path, dir)`. `path` defines the path to file in\nthe file system. `dir` is `true`, if `path` is a directory, otherwise `false`.\n\nYou can use this to filter out specific files or directories by their pathname.\n","homepage":"https://github.com/pvorb/node-diveSync","contributors":[{"name":"Dave Geddes"},{"name":"Chris Marsh"}],"bugs":{"url":"http://github.com/pvorb/node-diveSync/issues"},"readmeFilename":"README.mkd"}