Skip to content

furkot/export-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

import exportZip from '@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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published