npm.io
1.0.2 • Published 9 years ago

pull-rate

Licence
MIT
Version
1.0.2
Deps
1
Vulns
0
Weekly
0
Stars
4

pull-rate

track the rate of flow of a pull-stream.

var Rate = require('pull-rate')
var bytes = 0
pull(
  Rate(source, function (length) { bytes += length }),
  ...
)

License

MIT