{"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","tarball":"http://registry-npm.ywwl.com/stream-counter/download/stream-counter-1.0.0.tgz","integrity":"sha512-4nfHc1016AhNOs0CFDR3S0FNeqnYbT7xZ408coajcx2Msj8malNNjvFHzWYIfIAXNK5i0eaKIVfgBYPOkyOTIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPKdc3fdl4Yg+0Idd9D/8W8qOhLe+AiDmBnppVM1+1LwIhAPIvXeA6crtqNhJrGUXpnOqFblqNDbq4mghfpSgvKop1"}],"size":1654,"noattachment":false,"key":"/stream-counter/-/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":{},"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":1399591875716,"_cnpm_publish_time":1399591875716,"dist-tags":{"latest":"1.0.0"}}