{"_id":"stream-iterate","_rev":"10-ae05049897bfd615910ba6415e44cf25","name":"stream-iterate","description":"Iterate through the values of a stream","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"stream-iterate","version":"1.0.0","description":"Iterate through the values of a stream","main":"index.js","dependencies":{},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"14ed7bec3ffae1f38763fd32917f36c7bc225a88","_id":"stream-iterate@1.0.0","_shasum":"9b92fd1a26f2d92f858ff6552410b5c226733ff3","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"9b92fd1a26f2d92f858ff6552410b5c226733ff3","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.0.0.tgz","integrity":"sha512-b4OlKcV4vO5Vn2hbUOV0ex8BWskM2HNiNAo+pefua6V8XwvDw4zbHyMub1s424ATS+DJ07rneTKQ6tHweGAgtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY1s+RGTW1q7NP0Xuv7yC3l/jjTdLOgqNESlap1G6xfgIgX6Q8I6QhzG4pPiP4jAyDX3VA9YP5+Dm3nVa+tvMnN3Q="}]}},"1.0.1":{"name":"stream-iterate","version":"1.0.1","description":"Iterate through the values of a stream","main":"index.js","dependencies":{},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"cb4995a2c8f3639796ad31c5533680bd0f968eab","_id":"stream-iterate@1.0.1","_shasum":"0e4b3495593be823e88a1f97fec5d7dccb1e01f6","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"0e4b3495593be823e88a1f97fec5d7dccb1e01f6","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.0.1.tgz","integrity":"sha512-Sw3bwWobxrOnXdFk28wSOv1e1i017hHhxfwNunFliUAS9JbZf8Li1s8JKw7H1MhIqTACpCXx+5lM5wXYjJ6O7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDceMknXqXZi82UhmxVCpeMuXcoGsE0ScJWRLtxXW37RAIgByMmdDE7rkDh7/hpSvTfhr13aDxMMlFYfM8HRXQxcjk="}]}},"1.0.2":{"name":"stream-iterate","version":"1.0.2","description":"Iterate through the values of a stream","main":"index.js","dependencies":{},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"02116bfafc1bab07c7df9b7581204331978b42ed","_id":"stream-iterate@1.0.2","_shasum":"c9c8c3a4a64709b95a2b48e67013250deb2876d7","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"c9c8c3a4a64709b95a2b48e67013250deb2876d7","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.0.2.tgz","integrity":"sha512-oqx0dcUcwU38GChqb2INDZwwBap0GZ8m3QGtEfgd7HXtj0DVV2H7IDSdaYOO1sMKAJKGdc78e1ki1h7CvV6sFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/r2VrYp08KTQG1sQ48GrJDxMB6usG8dXpA+qXODj7TAiEAkSUFQpMVgq5LqhmYxOiCftZ6h7Y6lFiSIM5N8k8vo2U="}]}},"1.1.0":{"name":"stream-iterate","version":"1.1.0","description":"Iterate through the values of a stream","main":"index.js","dependencies":{},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"1d5878cb877a05dc09090ff9839b06b4c1672a2a","_id":"stream-iterate@1.1.0","_shasum":"daa4b8d3413715d172f666cb6a44ae5765cc8ecb","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"daa4b8d3413715d172f666cb6a44ae5765cc8ecb","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.1.0.tgz","integrity":"sha512-xP10J3puCv3EfqxdKGzcMXGEhvjVloTfP1rTyODtOKFOwhLIXXmze1Ksf1zFIBCQ8VJ4KpA21FfbDzWYihEVew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChng2m29aD38dWGdjE0Ea8Rb+tthgXJy3/Xx2smsa0+AIhAKF+AKqRwjggt+47maFYdPJbZDVH9ZsM9Cim+SP+hTE1"}]}},"1.1.1":{"name":"stream-iterate","version":"1.1.1","description":"Iterate through the values of a stream","main":"index.js","dependencies":{},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"7a6e5e07b213fccd3efffda5f14b0442b1d360c9","_id":"stream-iterate@1.1.1","_shasum":"5d7d197aa52bc9e271b44547c9e388b2b1b33836","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"5d7d197aa52bc9e271b44547c9e388b2b1b33836","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.1.1.tgz","integrity":"sha512-yPAn1B+LySdGd6CK0o9HgZsWKIDMpCucpo6UgoFbIdxnRzGEZoh9fHmBGA7pz6l/Gc0Rtj2Q0K03z7jWyifY2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWorUMnXVQJY4yGl2bvMrjmywePU/+C1cCOM7i0jZaNAIhAJIksKhu9iNchzTmCnOeo3jk+rqf6RP43X28teSDOi5s"}]}},"1.2.0":{"name":"stream-iterate","version":"1.2.0","description":"Iterate through the values of a stream","main":"index.js","dependencies":{"readable-stream":"^2.1.5","stream-shift":"^1.0.0"},"devDependencies":{"from2":"^1.3.0","standard":"^3.3.2","tape":"^4.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"homepage":"https://github.com/mafintosh/stream-iterate","gitHead":"8a462e3342c97a92a82f3da4f09533acc7605a7c","_id":"stream-iterate@1.2.0","_shasum":"2bd7c77296c1702a46488b8ad41f79865eecd4e1","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"2bd7c77296c1702a46488b8ad41f79865eecd4e1","tarball":"https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.2.0.tgz","integrity":"sha512-QVfGkdBQ8NzsSIiL3rV6AoFFWwMvlg1qpTwVQaMGY5XYThDUuNM4hYSzi8pbKlimTsWyQdaWRZE+jwlPsMiiZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKXYn+IS//vQuypzjW3p2mbiDFadiANWd6H4vTg/rJdAiBtJNU2M2EzkVI1YIKRHsb0zZ/c6yd0KVK8Smf8Lm0JfQ=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"maxogden","email":"max@maxogden.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stream-iterate-1.2.0.tgz_1478427751013_0.5359935541637242"}}},"readme":"# stream-iterate\n\nIterate through the values in a stream.\n\n```\nnpm install stream-iterate\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/stream-iterate.svg?style=flat)](http://travis-ci.org/mafintosh/stream-iterate)\n\n## Usage\n\n``` js\nvar iterate = require('stream-iterate')\nvar from = require('from2')\n\nvar stream = from.obj(['a', 'b', 'c'])\n\nvar read = iterate(stream)\n\nloop()\n\n// recursively iterates through each item in the stream\nfunction loop () {\n  read(function (err, data, next) {\n    console.log(err, data)\n    next()\n    loop()\n  })\n}\n```\n\nIf you don't call `next` and call `read` again the same `(err, value)` pair will be returned.\n\nYou can use this module to implement stuff like [a streaming merge sort](https://github.com/mafintosh/stream-iterate/blob/master/test.js#L5-L47).\n\n## License\n\n[MIT](LICENSE)\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"maxogden","email":"max@maxogden.com"}],"time":{"modified":"2022-06-27T00:47:37.288Z","created":"2015-04-08T18:43:08.247Z","1.0.0":"2015-04-08T18:43:08.247Z","1.0.1":"2015-04-08T18:45:05.049Z","1.0.2":"2015-04-08T19:45:24.159Z","1.1.0":"2015-04-08T20:21:12.259Z","1.1.1":"2015-04-09T17:24:14.964Z","1.2.0":"2016-11-06T10:22:31.233Z"},"homepage":"https://github.com/mafintosh/stream-iterate","repository":{"type":"git","url":"https://github.com/mafintosh/stream-iterate.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"bugs":{"url":"https://github.com/mafintosh/stream-iterate/issues"},"license":"MIT","readmeFilename":"README.md","users":{"heineiuo":true}}