Share your code.
Get upload and download speeds for a hyperdrive archive.
var archive =var swarm =var speed =
var speed = networkSpeed(archive, [opts])
archiveis a hyperdrive archive.
opts.timeoutis the only option. Speed will be reset to zero after the timeout.
Archive upload speed across all peers.
Archive download speed across all peers.