{"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"},"_id":"stream-counter@0.1.0","dist":{"shasum":"a035e429361fb57f361606e17fcd8a8b9677327b","tarball":"http://registry-npm.ywwl.com/stream-counter/download/stream-counter-0.1.0.tgz","integrity":"sha512-Yz+QYzpSJl6Y1u41KDU0Yx8MBJn6dQ+uCZDnVxiY67JAwa0xlhWYBdOCoWG6+a2OWnSX3RibxgXC5lNAS2OHtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH7CR7zWUKpBY2uaMN4UesF5R3NhT1DVCRc3aNvAcdBQIhAP+jJO4dXmONTP/H5hjMSxr2oJy/lyTNopJHM4mAOd7t"}],"size":1008,"noattachment":false,"key":"/stream-counter/-/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":{},"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","publish_time":1365191149803,"_cnpm_publish_time":1365191149803,"dist-tags":{"latest":"1.0.0"}}