Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 557 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 557 Bytes

S3 Unzip Plus

Forked version to:

  • remove old AWS SDK v2
  • add AWS SDK v3
  • convert to async/await

For the official readme, check the official project.

Install

yarn add @20minutes/s3-unzip-plus

Library Usage

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
});