Library for resolving a `hyper://` URL to a hypercore-protocol based data structure
AGPL-3.0 License
Library for resolving a hyper://
URL to a hypercore-protocol based data structure
0
index.length
is 0
, wait for a peer to get some data? (MAYBE)0
isn't a header, assume it's a regular hypercorehypertrie
with a metadata
of 64 bytes is a Hyperdriveconst resolveHyperStrucutre = require('resolve-hyper-structure')
const {type, metadata} = await resolveHyperStrucutre(hypercore)