zip-to-hyperdrive
Add files from a zip archive to a hyperdrive archive.
npm install zip-to-hyperdrive
Example
var hyperzip = var hyperdrive = var memdb = var drive = var archive = drive { console}
API
hyperzip(zipfile, archive, [cb])
Adds files to the given archive. The cb
will be called once all files have been read and their contents added to the hyperdrive archive.
zipfile
can be a path to a file on the local filesystem, a yauzl
zipfile object, or a Buffer
.