{"_id":"stream-counter","_rev":"72692","name":"stream-counter","description":"keeps track of how many bytes have been written to a stream","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"time":{"modified":"2021-06-03T10:23:48.000Z","created":"2013-04-05T19:45:49.803Z","1.0.0":"2014-05-08T23:31:15.716Z","0.2.0":"2013-09-08T13:12:46.262Z","0.1.0":"2013-04-05T19:45:49.803Z"},"users":{"quocnguyen":true},"author":{"name":"Andrew Kelley","email":"superjoe30@gmail.com"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-stream-counter.git"},"versions":{"1.0.0":{"name":"stream-counter","version":"1.0.0","description":"keeps track of how many bytes have been written to a stream","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-stream-counter.git"},"author":{"name":"Andrew Kelley","email":"superjoe30@gmail.com"},"license":"MIT","engines":{"node":">=0.10.20"},"dependencies":{},"bugs":{"url":"https://github.com/superjoe30/node-stream-counter/issues"},"homepage":"https://github.com/superjoe30/node-stream-counter","_id":"stream-counter@1.0.0","dist":{"shasum":"91cf2569ce4dc5061febcd7acb26394a5a114751","size":1654,"noattachment":false,"key":"/stream-counter/-/stream-counter-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-counter/download/stream-counter-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1399591875716,"_cnpm_publish_time":1399591875716,"_hasShrinkwrap":false},"0.2.0":{"name":"stream-counter","version":"0.2.0","description":"keeps track of how many bytes have been written to a stream","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-stream-counter.git"},"author":{"name":"Andrew Kelley","email":"superjoe30@gmail.com"},"license":"BSD","engines":{"node":">=0.8.0"},"dependencies":{"readable-stream":"~1.1.8"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/superjoe30/node-stream-counter/issues"},"_id":"stream-counter@0.2.0","dist":{"shasum":"ded266556319c8b0e222812b9cf3b26fa7d947de","size":1015,"noattachment":false,"key":"/stream-counter/-/stream-counter-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-counter/download/stream-counter-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1378645966262,"_hasShrinkwrap":false,"_cnpm_publish_time":1378645966262},"0.1.0":{"name":"stream-counter","version":"0.1.0","description":"keeps track of how many bytes have been written to a stream","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-stream-counter.git"},"author":{"name":"Andrew Kelley","email":"superjoe30@gmail.com"},"license":"BSD","engines":{"node":">=0.8.0"},"dependencies":{"readable-stream":"~1.0.2"},"readmeFilename":"README.md","_id":"stream-counter@0.1.0","dist":{"shasum":"a035e429361fb57f361606e17fcd8a8b9677327b","size":1008,"noattachment":false,"key":"/stream-counter/-/stream-counter-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-counter/download/stream-counter-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1365191149803,"_hasShrinkwrap":false,"_cnpm_publish_time":1365191149803}},"readme":"# stream-counter\n\nKeep track of how many bytes have been written to a stream.\n\n## Usage\n\n```js\nvar StreamCounter = require('stream-counter');\nvar counter = new StreamCounter();\ncounter.on('progress', function() {\n  console.log(\"progress\", counter.bytes);\n});\nfs.createReadStream('foo.txt').pipe(counter);\n```\n","_attachments":{},"homepage":"https://github.com/superjoe30/node-stream-counter","bugs":{"url":"https://github.com/superjoe30/node-stream-counter/issues"},"license":"MIT"}