Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (13 loc) · 577 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 577 Bytes

deprecated

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