We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Such as FileSystemWritableFileStream
The text was updated successfully, but these errors were encountered:
@AlwaysNoobCoder I'm using something like this in a NextJS app route:
const archive = archiver('zip'); const webStream = new ReadableStream({ start(controller) { archive.on('data', chunk => controller.enqueue(chunk)); archive.on('end', () => controller.close()); archive.on('error', err => controller.error(err)); archive.append(...); archive.append(...); archive.finalize(); }, }); return new Response(webStream, { headers: { 'Content-type': 'application/zip', 'Content-Disposition': 'attachment;filename=archive.zip', }, });
Sorry, something went wrong.
No branches or pull requests
Such as FileSystemWritableFileStream
The text was updated successfully, but these errors were encountered: