sample.js(async () => {
const { default: JSZip } = await import("https://cdn.jsdelivr.net/npm/jszip@3.10.1/+esm");
const zip = new JSZip();
const readableStream = (
await fetch("data:image/gif;base64,R0lGODdhBQAFAIACAAAAAP/eACwAAAAABQAFAAACCIwPkWerClIBADs=")
).body;
zip.file("smile.gif", readableStream);
const blob = await zip.generateAsync({ type: "blob" });
open(URL.createObjectURL(blob));
})();