Live & persistent stats module for hyperdrive.
var Stats = require('hyperdrive-stats')
var stats = Stats({
archive: archive,
db: db
})
stats.on('update', function () {
console.log(stats.get())
})
"bytesTotal"
"bytesProgress"
"blocksTotal"
"filesTotal"
MIT