{"_id":"pouch-stream","_rev":"14-b40761e053bfaeadc9b6688fbf3b514b","name":"pouch-stream","description":"Experimental streaming version of PouchDB","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.1":{"name":"pouch-stream","version":"0.1.1","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1"},"devDependencies":{"random-document-stream":"0.0.0","tape":"^2.12.3","pouchdb":"git://github.com/pouchdb/pouchdb","through2":"^0.4.1"},"scripts":{"test":"node test/test.js"},"_id":"pouch-stream@0.1.1","dist":{"shasum":"1a1c00f0d990c906c516d8b33d96a890ad79f485","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.1.1.tgz","integrity":"sha512-9RpZo42m29apeTP4Pe1ufiM2XgUNGMphibMcH+1OkZrBSifjZ0SoAWAasrZx3QP+gCW9D4ma9ZKX8ihllnz+8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBshYh9Oit6XXzZ/+SjeFmlx4v6TbSSZY1MqW7JK/dylAiAyTR4iVZqsKcjJV8Gu7MZ/PoGhR8otvxi8C0sT17Q9Qg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}]},"0.2.0":{"name":"pouch-stream","version":"0.2.0","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1","xtend":"^3.0.0"},"devDependencies":{"random-document-stream":"0.0.0","tape":"^2.12.3","pouchdb":"git://github.com/pouchdb/pouchdb","through2":"^0.4.1"},"scripts":{"test":"node test/test.js"},"_id":"pouch-stream@0.2.0","dist":{"shasum":"de38d945ad96f8880ac6a840bf4ff6f7a9827070","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.2.0.tgz","integrity":"sha512-UtriRZU6MbAgH/uFQWDRhXR+DVI3aE3i+2bjmTsAA2A/yHpx6+kF7CFaDyrJoECmEjut8e8tUm+cCcYnwUMeng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcDt/GZBjMEZKQZXr/vMBPlBs70XI9Gjy7QKzwqXcmCAiEAmiarOZlEMmQlmBmQSnkJjMpYP43BaZZZgfmvVE+JxwY="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}]},"0.3.0":{"name":"pouch-stream","version":"0.3.0","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1","xtend":"^3.0.0"},"devDependencies":{"random-document-stream":"0.0.0","tape":"^2.12.3","through2":"^0.4.1","pouchdb":"^2.2.0"},"scripts":{"test":"node test/test.js"},"_id":"pouch-stream@0.3.0","dist":{"shasum":"9abec01850cf3997c0e7144bdf13bb7b15b06947","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.3.0.tgz","integrity":"sha512-E8/gPX5xrMVmZvUJFfwJcB4KVKoKCpc58YFhKL53WEKg61XgNoSXna5BD+pMqcnp1OKfZ2flAs5mqu6ekc7Yow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLtrYXuySUELfFEBitTRQpM3i2Nz/eVIgXveLiUwydzAiEAsRdClo2VKwTGDmd+gVd8GPtILFkPFbyLY7NjUx7rNAQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}]},"0.3.1":{"name":"pouch-stream","version":"0.3.1","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1","xtend":"^3.0.0"},"devDependencies":{"random-document-stream":"0.0.0","tape":"^2.12.3","through2":"^0.4.1","pouchdb":"^2.2.0"},"scripts":{"test":"node test/test.js"},"_id":"pouch-stream@0.3.1","dist":{"shasum":"2e5ae21da53889d79717f0b5eba458e4c4edb2b8","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.3.1.tgz","integrity":"sha512-TrPA2RgvJMHMUtvybH4Jogccw9/TBiotj/7gRO3yYiuaA5OgUnmFOvNadf4urJfOfowyhweS3w61hkeBZJ8nBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7xReVSSluACkHIINBfPZhhJGchA1asrTBVLJtIY14+QIgA22wqZKWsfbZ0zk9NxZIDmyLkFUegd0BWveCdQ94R5A="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}]},"0.4.0":{"name":"pouch-stream","version":"0.4.0","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1","xtend":"^3.0.0"},"devDependencies":{"random-document-stream":"0.0.0","tape":"^2.12.3","through2":"^0.4.1","pouchdb":"^2.2.0"},"scripts":{"test":"node test/test.js"},"gitHead":"7775885f19e704ae3061d10ed2214ccd95dce4d1","_id":"pouch-stream@0.4.0","_shasum":"e5d91d2504889e4e356e10b183c756bef31a8958","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"dist":{"shasum":"e5d91d2504889e4e356e10b183c756bef31a8958","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.4.0.tgz","integrity":"sha512-Ie4PAICEaGPoFvCI9+mfV75qx1LSdAjECzoyfCB2ylbSTE1Y3B6fRNhFw/EcV6ryI8tJNh6gSSGXlKfia4iSEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEcsLKXs4t70QOVtRl3/2VIkPskOlMpHKHeXV6LGjJtAiAHbmvYHJIhOB10/f5yJpL4/sI+QJNYhoGZG2Tu4cRFpQ=="}]}},"0.4.1":{"name":"pouch-stream","version":"0.4.1","description":"Experimental streaming version of PouchDB","main":"index.js","repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"keywords":["pouch","stream","couch","db"],"author":{"name":"Calvin Metcalf"},"license":"MIT","bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"homepage":"https://github.com/calvinmetcalf/PouchStream","dependencies":{"inherits":"^2.0.1","readable-stream":"^1.0.27-1"},"devDependencies":{"pouchdb":"^3.3.1","random-document-stream":"0.0.0","tap-spec":"^2.2.2","tape":"^2.12.3","through2":"^0.4.1"},"scripts":{"test":"node test/test.js | tspec"},"gitHead":"952bec782e5daeca593d19ed71ec2d2b6690557d","_id":"pouch-stream@0.4.1","_shasum":"0c6d8475c9307677627991a2f079b301c3b89bdd","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.6.2","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"dist":{"shasum":"0c6d8475c9307677627991a2f079b301c3b89bdd","tarball":"https://registry.npmjs.org/pouch-stream/-/pouch-stream-0.4.1.tgz","integrity":"sha512-RAWFhsGDbG4xZQpvrrQlhrITVUNVCKmglfe5WWDnJaDf1u9DMaRLHv//m65tBZevuo4QTGjwcyggwYxd7AGLsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEw4VkN/+4SDVZOY8Lq5wa/CqdUCt7KVtkeSLqjhgdOXAiEAy0sfplBaDMKK4pu9bfRprCwI+GzsDF8mq4yxvH7yfGg="}]}}},"readme":"Pouch Stream\n====\n\nStreaming plugin for PouchDB\n\n```bash\nnpm install pouch-stream\n```\n\n```js\nPouchDB.plugin(require('pouch-stream'));\n```\n\nWritable\n---\n\nnote: the docs you give it can have _ids's or not and it will do post or put depending, you can also pass an array for bulk docs, it also takes an option object which will be passed verbatem to bulkDocs, put, or post.\n\n```js\nvar stream = db.createWriteStream();\nstream.write({\n  foo: 'bar',\n  _id: 'testDoc'\n}, function () {\n  // chunk is flushed\n});\n```\n\nbut wait there is more, the database itself is a write streem though you can't close it, you can do\n\n\n```js\nvar random = require(\"random-document-stream\");\nrandom(100).pipe(db);\n```\n\nReadable\n---\n\n```js\nvar db = new PouchDB('foo');\nvar stream = db.createReadStream();\nstream.on('data', function (d) {\n  // deal with data\n});\n```\n\nyou can also set `since` \n\nvar stream = db.createReadStream({since:19});\nstream.on('data', function (d) {\n  // deal with data after seq 19\n});\n","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"time":{"modified":"2022-06-24T11:59:02.285Z","created":"2014-04-25T16:31:29.129Z","0.1.1":"2014-04-25T16:31:29.129Z","0.2.0":"2014-05-02T14:29:34.156Z","0.3.0":"2014-05-02T18:17:56.259Z","0.3.1":"2014-06-18T16:03:37.375Z","0.4.0":"2014-08-20T00:30:45.500Z","0.4.1":"2015-03-30T17:46:41.660Z"},"homepage":"https://github.com/calvinmetcalf/PouchStream","keywords":["pouch","stream","couch","db"],"repository":{"type":"git","url":"git@github.com:calvinmetcalf/PouchStream.git"},"author":{"name":"Calvin Metcalf"},"bugs":{"url":"https://github.com/calvinmetcalf/PouchStream/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"sherylynn":true}}