JSPM

hyperdrive-to-zip-stream

2.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q63352F
  • License MIT

Create a zipfile from a hyperdrive

Package Exports

  • hyperdrive-to-zip-stream

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hyperdrive-to-zip-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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