{"name":"iterators","version":"0.3.0","description":"iterate over collections in sync & async","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/iterators.git"},"main":"index","homepage":"https://github.com/Raynos/iterators","contributors":[{"name":"Jake Verbaten"}],"bugs":{"url":"https://github.com/Raynos/iterators/issues","email":"raynos2@gmail.com"},"devDependencies":{"testling":"git://github.com/Raynos/testling#implement-render","testem":"git://github.com/Raynos/testem#master","sinon":"git://github.com/Raynos/Sinon.JS.git","tap":"0.2.5"},"licenses":[{"type":"MIT","url":"http://github.com/raynos/iterators/raw/master/LICENSE"}],"scripts":{"test":"make node-test"},"dependencies":{"ap":"~0.1.0"},"readme":"# Iterators [![build status][1]][2]\n\nIterate over collections in sync or async\n\n## Example\n\n    var iterators = require(\"iterators\")\n        , map = iterators.map\n        , fs = require(\"fs\")\n        , readFile = fs.readFile\n\n    map({\n        \"foo\": \"test/foo.js\"\n        , \"bar\": \"test/bar.js\"\n    }, readFile, function (err, files) {\n        // files.foo, files.bar\n    })\n\n## Motivation\n\nThere are a few minor issues with the iterators on Array.prototype and alternatives provided by underscore / async.\n\nThis library fixes the following nitpicks:\n\n - You can call an iterator on both an array and an object\n - every / some return the truthy / falsey value without coercing to a boolean\n - reduce / reduceRight accept a optional thisValue\n - provides asynchronous implementations of all iterators that use a \n    callback<Error, Value> instead of returning the value\n\n## Installation\n\n`npm install composite`\n\n## Tests\n\n`make test`\n\n## Contributors\n\n - Raynos\n\n## MIT Licenced\n\n  [1]: https://secure.travis-ci.org/Raynos/iterators.png\n  [2]: http://travis-ci.org/Raynos/iterators \n  [3]: https://github.com/Raynos/iterators/tree/master/test","_id":"iterators@0.3.0","dist":{"shasum":"8368a38c67b4ff7101c4a13acb4950ea7e0ba74e","tarball":"http://registry-npm.ywwl.com/iterators/download/iterators-0.3.0.tgz","integrity":"sha512-QEByzpGyYPYM91GvRrw5nvlkzDuW/MLNQXj7fyQ/VnUmPcOeRgj5oHnMSG2KncJIWISIliq11Pyge2+LLDVo0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRGxwrI9lz2hKYRgxqnic172OYak3ehmgSdD2a/5jAuAIgO2kovpYKRMzbV1/CX/T2tdqKcZ4SePS0DVpDxthWUcA="}],"size":5993,"noattachment":false,"key":"/iterators/-/iterators-0.3.0.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"publish_time":1345671791826,"_cnpm_publish_time":1345671791826,"dist-tags":{"latest":"0.3.3"}}