
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
hyperhealth
Advanced tools
Monitor the health of a hyperdrive or dat, including peer count and peer mirror percentages. Does not actually download any data content, only downloads some of the metadata and monitors the peer feeds.
npm install dat-health
var Health = require('hyperhealth')
var health = Health('ARCHIVE_KEY')
// Will fire every 1 second
setInterval(function () {
var data = health()
console.log(data.peers.length, 'total peers')
console.log(data.bytes, 'total bytes')
console.log(data.blocks, 'total blocks')
console.log('Peer 1 Downloaded %' + data.peers[0].have / data.peers[0].blocks)
}, 1000)
health = Health(key-or-archive)
Takes a hyperdrive key or the corresponding hyperdrive archive instance. Returns a
function health that when called will return an object representing
Returns:
bytes: Number of total bytesblocks: Number of total blockspeers: An array of the peers containing id, blocks, and haveid: The unique id of the peer, derived from stream.remoteIdhave: The number of blocks that have been downloadedblocks: The total number of blocksFAQs
Monitor the health of a hyperdrive feed, including peer mirror percentages.
We found that hyperhealth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.