s3-express-zip
Version:
Download multiple objects from S3 bucket to zip archive through stream
10 lines (9 loc) • 348 B
TypeScript
import { WriteStream } from 'fs';
declare const _default: ({ res, zipOptions }: {
res: WriteStream | any;
zipOptions?: {
[key: string]: any;
} | undefined;
}) => (files: any[], cb?: (error?: any, data?: any) => void) => void;
export default _default;
export { getS3ObjectsList, getHTTPHeaders, getS3ObjectStream } from './lib';