Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/ ]

Awesome Lists containing this project

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