hyperdrive-to-zip-stream
January 5, 2022 ยท View on GitHub
More info on active projects and modules at dat-ecosystem.org ![]()
hyperdrive-to-zip-stream
Usage
const toZipStream = require('hyperdrive-to-zip-stream')
toZipStream(archive, '/').pipe(fs.createWriteStream(...))
The output zip will only contain files that are fully downloaded. You can specify subfolders to fetch part of the archive.
License
MIT