https://github.com/pfrazee/hyperdrive-to-zip-stream
Create a zipfile from a hyperdrive [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
https://github.com/pfrazee/hyperdrive-to-zip-stream
dat zip
Last synced: 4 days ago
JSON representation
Create a zipfile from a hyperdrive [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
- Host: GitHub
- URL: https://github.com/pfrazee/hyperdrive-to-zip-stream
- Owner: dat-ecosystem-archive
- Archived: true
- Created: 2016-08-05T18:32:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-05T15:38:36.000Z (over 3 years ago)
- Last Synced: 2025-04-22T10:12:14.626Z (14 days ago)
- Topics: dat, zip
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-dat - hyperdrive-to-zip-stream - export hyperdrive archives as a zip files (Using Dat / File Imports & Exports)
- awesome-dat - hyperdrive-to-zip-stream - export hyperdrive archives as a zip files (Using Dat / File Imports & Exports)
README
[](https://dat-ecosystem.org/)
More info on active projects and modules at [dat-ecosystem.org](https://dat-ecosystem.org/)
![]()
---
# hyperdrive-to-zip-stream
Usage
```js
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