Zipper

What is Zipper?

Zipper is a modern TypeScript package that lets you download multiple files from URLs and combine them into a single ZIP archive. Perfect for bulk file downloads in web applications.

npm install @diegoaltoworks/zipper
View on NPM →

Features

  • TypeScript support with full type definitions
  • Concurrent downloads with Promise.all
  • Progress tracking callbacks
  • Robust error handling
  • Custom fetch options & timeouts
  • Browser native (no polyfills needed)

Usage Example

import { downloadZipFile } from '@diegoaltoworks/zipper';

await downloadZipFile([
  { url: '/file1.pdf', name: 'A.pdf' },
  { url: '/file2.pdf', name: 'B.pdf' }
], {
  zipFilename: 'download.zip',
  onProgress: (current, total) => {
    console.log(`${current}/${total}`);
  }
});
Read full documentation →

Try it Now

Select files below and download them as a ZIP

0
Selected
100
Total Files
-
Status