@furkot/export-zip

Composite exporter that solves problem of downloading/exporting multiple files.


Keywords
export-zip, furkot, export
License
MIT
Install
npm install @furkot/export-zip@0.1.0

Documentation

NPM version Build Status Dependency Status

@furkot/export-zip

Composite exporter that solves problem of downloading/exporting multiple files.

Install

$ npm install --save @furkot/export-zip

Usage

const exportZip = require('@furkot/export-zip');

const buffers = exportZip([
  { name: 'day-1', bytes: day1 },
  { name: 'day-2', bytes: day2 }
]);

// buffers is now a generator/iterator producing store-only zip file
const zip = new Blob(Array.from(buffers));

License

MIT © Damian Krzeminski