Forked version to:
- remove old AWS SDK v2
- add AWS SDK v3
- convert to async/await
For the official readme, check the official project.
yarn add @20minutes/s3-unzip-plus
import s3UnzipPlus from '@20minutes/s3-unzip-plus'
await s3UnzipPlus({
bucket: 'test-bucket-in-s3',
file: 'Companies.zip',
targetBucket: 'test-output-bucket',
targetFolder: 'test-folder',
copyMetadata: true,
deleteOnSuccess: true,
verbose: false
});