Live & persistent stats module for hyperdrive.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
example.js
index.js
package.json
test.js

README.md

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