Instantly share code, notes, and snippets.

Embed
What would you like to do?
var pages = require('random-access-page-files')
var hyperdrive = require('hyperdrive')
var drive = hyperdrive(db) // some db
var archive = drive.createArchive(key, {
storage: pages('some-folder-where-the-should-be-stored')
})
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment