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

Made by Antonio Ramirez

hyperdrive-stats

3.0.0

@juliangruber

npmHomeRepoSnykSocket
Downloads:6
$ npm install hyperdrive-stats
DailyWeeklyMonthlyYearly

hyperdrive-stats

Live & persistent stats module for hyperdrive.

build status

Usage

var Stats = require('hyperdrive-stats')
var stats = Stats({
  archive: archive,
  db: db
})

stats.on('update', function () {
  console.log(stats.get())
})

Stats

  • "bytesTotal"
  • "bytesProgress"
  • "blocksTotal"
  • "filesTotal"

License

MIT