{"_id":"iterate-files","_rev":"4221132","name":"iterate-files","description":"iterate all the files","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"raynos","email":""}],"time":{"modified":"2026-03-04T17:20:51.000Z","created":"2012-06-01T15:49:44.260Z","0.1.1":"2012-06-03T09:12:09.263Z","0.1.0":"2012-06-01T15:49:44.260Z"},"users":{},"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/iterate-files.git"},"versions":{"0.1.1":{"name":"iterate-files","version":"0.1.1","description":"iterate all the files","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/iterate-files.git"},"main":"index","scripts":{"test":"make test"},"homepage":"https://github.com/Raynos/iterate-files","contributors":[{"name":"Jake Verbaten"}],"bugs":{"email":"raynos2@gmail.com","url":"https://github.com/Raynos/iterate-files/issues"},"licenses":[{"type":"MIT","url":"http://github.com/raynos/iterate-files/raw/master/LICENSE"}],"engines":{"node":">=0.4"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"_id":"iterate-files@0.1.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"853bed9416f4959bba82590efedd66221c3eb264","size":1998,"noattachment":false,"key":"/iterate-files/-/iterate-files-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/iterate-files/download/iterate-files-0.1.1.tgz"},"maintainers":[{"name":"raynos","email":""}],"directories":{},"publish_time":1338714729263,"_hasShrinkwrap":false,"_cnpm_publish_time":1338714729263,"_cnpmcore_publish_time":"2021-12-17T04:14:02.512Z"},"0.1.0":{"name":"iterate-files","version":"0.1.0","description":"iterate all the files","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/iterate-files.git"},"main":"index","scripts":{"test":"make test"},"homepage":"https://github.com/Raynos/iterate-files","contributors":[{"name":"Jake Verbaten"}],"bugs":{"email":"raynos2@gmail.com","url":"https://github.com/Raynos/iterate-files/issues"},"licenses":[{"type":"MIT","url":"http://github.com/raynos/iterate-files/raw/master/LICENSE"}],"engines":{"node":">=0.4"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"_id":"iterate-files@0.1.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"5a3ce339bcc381cea38d237b2c6c7e8b6733428e","size":1995,"noattachment":false,"key":"/iterate-files/-/iterate-files-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iterate-files/download/iterate-files-0.1.0.tgz"},"maintainers":[{"name":"raynos","email":""}],"directories":{},"publish_time":1338565784260,"_hasShrinkwrap":false,"_cnpm_publish_time":1338565784260,"_cnpmcore_publish_time":"2021-12-17T04:14:02.709Z"}},"readme":"# iterateFiles\n\nIterate all the files\n\n## Examples\n\nBasic usage:\n\n    var iterateFiles = require(\"iterate-files\"),\n        path = require(\"path\")\n\n    // Load all javascript files in the test folder or any of their sub folders\n    iterateFiles(path.join(process.cwd(), \"./test\"), function (fileName) {\n        // run code for each recursively found js file\n    }, function (err) {\n        // run code when all files have been found recursively\n    }, /.js$/)\n\n## Documentation\n\n### iterateFiles(uri, fileCallback, finishCallback, regexp)\n\nrecursively call the fileCallback for every file in the folder. Calls the \n    finishCallback if all files have been handled or if an err occurs.\n\nOptionally pass in a regexp to match the fileName by. If the regexp fails then\n    the fileCallback will not be called for that file\n        \n## MIT Licenced","_attachments":{},"homepage":"https://github.com/Raynos/iterate-files","bugs":{"email":"raynos2@gmail.com","url":"https://github.com/Raynos/iterate-files/issues"}}