{"name":"iterators","version":"1.0.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":"git://github.com/Raynos/node-ap","xtend":"~1.0.3","to-array":"~0.1.3"},"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@1.0.0","dist":{"shasum":"19434930ad5e6a78570742c458ed8643a7a2d55e","tarball":"http://registry-npm.ywwl.com/iterators/download/iterators-1.0.0.tgz","integrity":"sha512-wRkdWNZq9335qMqwUbbSnoayPe5eBQM2hBNPVSYBR2uunq4vfqce+/0St4iiO/SJGCOktgK8fBCHywAMUIHY2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMmC83r8lBxi7GXW/j2bDubtsqq8E9BaieZYUha97hNQIgZKnJ6H0WrciqVcilJDH0qgYbmCx6a3yP+H6vPZlOMsQ="}],"size":6378,"noattachment":false,"key":"/iterators/-/iterators-1.0.0.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"publish_time":1350776746895,"_cnpm_publish_time":1350776746895,"dist-tags":{"latest":"0.3.3"}}