Skip to content

A simple library to unzip an archive file in a S3 bucket to its root folder.

Notifications You must be signed in to change notification settings

20minutes/s3-unzip-plus

 
 

Repository files navigation

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

About

A simple library to unzip an archive file in a S3 bucket to its root folder.

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%