Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dat-ecosystem-archive/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/dat-ecosystem-archive/hyperdrive-to-zip-stream
dat zip
Last synced: 3 months 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/dat-ecosystem-archive/hyperdrive-to-zip-stream
- Owner: dat-ecosystem-archive
- Archived: true
- Created: 2016-08-05T18:32:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-05T15:38:36.000Z (about 3 years ago)
- Last Synced: 2024-05-16T13:16:30.823Z (9 months 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)
README
[![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)](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