Skip to content

Instantly share code, notes, and snippets.

@mafintosh
Last active November 25, 2022 23:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mafintosh/06236b178864b49146b120620501c34b to your computer and use it in GitHub Desktop.
Save mafintosh/06236b178864b49146b120620501c34b to your computer and use it in GitHub Desktop.
var archive = hyperdrive(datStorage('/..../..../'), key, {latest: true})
var hyperdiscovery = require('hyperdiscovery')
archive.on('ready', function () {
console.log('ready...')
hyperdiscovery(archive)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment