1.0.1 • Published 6 years ago

hyperdrive-archiver v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

hyperdrive-archiver

The API is the same as hypercore-archiver, with support for hyperdrives.

NPM

archiver.health(archive)

Return the health of the archive. The archive parameter should be the return value from archiver.get function.

archiver.remove()

archiver.add()

archiver.list()

archiver.get(link, [opts], cb)

Resolve the given link and get the archive back that matches the given link.

`archiver.metadata(archive, opts, cb)

Get the metadata such as the file list and the dat.json file from the archive.

archiver.close()

Closes the archive