{"_id":"push-to-pull","_rev":"19-628b29097290540736b3e6ed429237dc","name":"push-to-pull","description":"Convert a push-filter to a pull-filter (for simple streams)","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"push-to-pull","version":"0.0.1","description":"Convert a push-filter to a pull-filter (for simple streams)","main":"transform.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/creationix/push-to-pull.git"},"keywords":["simple-stream","push-filter","stream"],"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","readmeFilename":"README.md","gitHead":"a31b6bc8d1233fc30a0aef6ad985b4444856962c","bugs":{"url":"https://github.com/creationix/push-to-pull/issues"},"readme":"push-to-pull\n============\n\nConvert a push-filter to a pull-filter (for simple streams)\n","_id":"push-to-pull@0.0.1","dist":{"shasum":"fad67724d79498aca7259d9c9cd06ce59b33ba63","tarball":"https://registry.npmjs.org/push-to-pull/-/push-to-pull-0.0.1.tgz","integrity":"sha512-czxm9l/aQi2F64GIntgIsd4iyC158y6QW516xGoJNc8prJQ9hzRXmUMSkDvFLvDVoodCsZJVk4r682+zAQRLFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDU0RA/rkFMWMYigKAn+MEr2+InJId3TLoKIMRc42AJ2AiEAz8mP55d7XVK6JCiw01/ibYUkuAETBUMVTbe6er2YjqM="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{}},"0.0.2":{"name":"push-to-pull","version":"0.0.2","description":"Convert a push-filter to a pull-filter (for simple streams)","main":"transform.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/creationix/push-to-pull.git"},"keywords":["simple-stream","push-filter","stream"],"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","readmeFilename":"README.md","gitHead":"a31b6bc8d1233fc30a0aef6ad985b4444856962c","bugs":{"url":"https://github.com/creationix/push-to-pull/issues"},"readme":"push-to-pull\n============\n\nConvert a push-filter to a pull-filter (for simple streams)\n\nUsage is simple.  Define your filter as an `(emit) -> emit` transform where `emit` is `(err, item)`.  Then when you need an `(stream) -> stream` filter, use this module to convert it.\n\n```js\nvar pushToPull = require('push-to-pull');\n\n// Dumb filter that inputs numbers and outputs that many monkeys\n// Encoded as an (emit) -> emit transform filter.\nfunction pushFilter(emit) {\n  return function (err, item) {\n    if (item === undefined) return emit(err);\n    for (var i = 1; i <= item; i++) {\n      emit(null, \"MONKEY \" + i);\n    }  \n  }\n}\n\n// Same filter, but as a (stream) -> stream transform filter\nvar pullFilter = pushToPull(pushFilter);\n```\n","_id":"push-to-pull@0.0.2","dist":{"shasum":"025d30e23fa72b493e556bc3594ef2d894a766c0","tarball":"https://registry.npmjs.org/push-to-pull/-/push-to-pull-0.0.2.tgz","integrity":"sha512-VqOKFS/mdl68evIgylWDpgiEBBSpWFGpEAxmUox40KhEtby1IkDKsv0KI+6wwr7Y2QLlQMCYoRIrypwr1jzeZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdbwzIaoaswZW7MKFU8T73g/FQKQUpNPtnYrby5/jPngIgfK25YbKMlhQjJAKl/8BfV8I/Yo2Z03i7mm7TaoNC5Ug="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}]},"0.0.3":{"name":"push-to-pull","version":"0.0.3","description":"Convert a push-filter to a pull-filter (for simple streams)","main":"transform.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/creationix/push-to-pull.git"},"keywords":["simple-stream","push-filter","stream"],"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","readmeFilename":"README.md","gitHead":"a31b6bc8d1233fc30a0aef6ad985b4444856962c","bugs":{"url":"https://github.com/creationix/push-to-pull/issues"},"readme":"push-to-pull\n============\n\nConvert a push-filter to a pull-filter (for simple streams)\n\nUsage is simple.  Define your filter as an `(emit) -> emit` transform where `emit` is `(err, item)`.  Then when you need an `(stream) -> stream` filter, use this module to convert it.\n\n```js\nvar pushToPull = require('push-to-pull');\n\n// Dumb filter that inputs numbers and outputs that many monkeys\n// Encoded as an (emit) -> emit transform filter.\nfunction pushFilter(emit) {\n  return function (err, item) {\n    if (item === undefined) return emit(err);\n    for (var i = 1; i <= item; i++) {\n      emit(null, \"MONKEY \" + i);\n    }  \n  }\n}\n\n// Same filter, but as a (stream) -> stream transform filter\nvar pullFilter = pushToPull(pushFilter);\n```\n","_id":"push-to-pull@0.0.3","dist":{"shasum":"f970b4f179c8716bed43c5f356e16a93fe106fb0","tarball":"https://registry.npmjs.org/push-to-pull/-/push-to-pull-0.0.3.tgz","integrity":"sha512-sSlEvQyEJd5go19nDWhj5HFt3kEIT9l2Dij3FY1dPgXT89nullmR9TJYBwAwcvWk0FOxMcrlGA16gbNFEAeSKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwq5lpIA+frphdFbte2WQ3/BXPcGXmPqeF0PBhyvzV/wIhAJ3CrzA27IcAyQMLsN3LpR8UGI/oL0WwJK8tsM5I56Rm"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}]},"0.1.0":{"name":"push-to-pull","version":"0.1.0","description":"Convert a push-filter to a pull-filter (for simple streams)","main":"transform.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/creationix/push-to-pull.git"},"keywords":["simple-stream","push-filter","stream"],"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","readmeFilename":"README.md","gitHead":"a31b6bc8d1233fc30a0aef6ad985b4444856962c","bugs":{"url":"https://github.com/creationix/push-to-pull/issues"},"readme":"push-to-pull\n============\n\nConvert a push-filter to a pull-filter (for simple streams)\n\nUsage is simple.  Define your filter as an `(emit) -> emit` transform where `emit` is `(err, item)`.  Then when you need an `(stream) -> stream` filter, use this module to convert it.\n\n```js\nvar pushToPull = require('push-to-pull');\n\n// Dumb filter that inputs numbers and outputs that many monkeys\n// Encoded as an (emit) -> emit transform filter.\nfunction pushFilter(emit) {\n  return function (item) {\n    if (item === undefined) return emit();\n    for (var i = 1; i <= item; i++) {\n      emit(\"MONKEY \" + i);\n    }  \n  }\n}\n\n// Same filter, but as a (stream) -> stream transform filter\nvar pullFilter = pushToPull(pushFilter);\n```\n","_id":"push-to-pull@0.1.0","dist":{"shasum":"286e9aa1dff65f40359a1158a5e57a5c8388bd8d","tarball":"https://registry.npmjs.org/push-to-pull/-/push-to-pull-0.1.0.tgz","integrity":"sha512-OQiexFo/0h12NMqFk9cYg7ljakO+IkxkdxJad6rlclo5XcXT9Cv8r+z5K+aTZdcRfmIwbYAJoYsjiFqKl7MWRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOQYU5OHvXM09F/6BQVWuFSklatI6UKPQu8crtO/Q2lAiEA1SO7rZro1U5RSqXwbMeZExfjQcJ7x5jAJMG7fbcztu4="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}]}},"readme":"push-to-pull\n============\n\nConvert a push-filter to a pull-filter (for simple streams)\n","maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"time":{"modified":"2022-06-25T01:55:01.898Z","created":"2013-07-03T02:35:35.010Z","0.0.1":"2013-07-03T02:35:36.753Z","0.0.2":"2013-07-03T20:08:53.848Z","0.0.3":"2013-07-05T18:06:04.632Z","0.1.0":"2013-07-06T23:46:24.287Z"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"git://github.com/creationix/push-to-pull.git"}}