npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

pull-rate

1.0.2

@dominictarr

npmHomeRepoSnykSocket
Downloads:183
$ npm install pull-rate
DailyWeeklyMonthlyYearly

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