Recipes
ZIP S3 or R2 objects
Bundle objects from signed bucket URLs.
Generate signed (or public) URLs for your bucket objects on the server, then
hand them to Eazip like any other remote source — no bucket credentials ever
reach the browser. Works the same way whether the objects live in S3, R2, or
another S3-compatible store. See @eazip/core for the underlying
engine.
In short
import { createZip } from '@eazip/core';
const result = await createZip({
files: presignedUrls.map((url) => ({ url })), // signed by your server, not the browser
zipName: 'bundle.zip',
});
result.download();A step-by-step walkthrough is coming soon.