{"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","tarball":"http://registry-npm.ywwl.com/iterate-files/download/iterate-files-0.1.0.tgz","integrity":"sha512-VnpILLnxTOUCg3MQCXAn384kB8kcPkFGBEFSQijoa/5TJf2LLwTByRK5SoWLI1jEAUshRMokP8+E2rVPI0yK4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCirO13wdxZDSJbP/e5zcSwvMCAinlBLq5+oizCkWK4IwIhAM0MkQxwRa0xkPZh2xXMdION+INQiIK8bzeCGcZ/z5dj"}],"size":1995,"noattachment":false,"key":"/iterate-files/-/iterate-files-0.1.0.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"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","publish_time":1338565784260,"_cnpm_publish_time":1338565784260,"dist-tags":{"latest":"0.1.1"}}