{"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"},"bugs":{"url":"https://github.com/superjoe30/node-stream-counter/issues"},"_id":"stream-counter@0.2.0","dist":{"shasum":"ded266556319c8b0e222812b9cf3b26fa7d947de","tarball":"http://registry-npm.ywwl.com/stream-counter/download/stream-counter-0.2.0.tgz","integrity":"sha512-GjA2zKc2iXUUKRcOxXQmhEx0Ev3XHJ6c8yWGqhQjWwhGrqNwSsvq9YlRLgoGtZ5Kx2Ln94IedaqJ5GUG6aBbxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3d0e6edgYlhBntCwfojf/0ssvUbJwWEsl8DDkF0wX/QIhAJ8I39SAiRrAUSLTfDyXCqJSwV5MvB2PtBtJ61cBYT98"}],"size":1015,"noattachment":false,"key":"/stream-counter/-/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":{},"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":1378645966262,"_cnpm_publish_time":1378645966262,"dist-tags":{"latest":"1.0.0"}}