tweedegolf / storage-abstraction

Provides an abstraction layer for interacting with a storage; the storage can be local or in the cloud.
MIT License
106 stars 18 forks source link

Use "@aws-sdk/client-s3" instead of "aws-sdk" #26

Closed DennisSnijder closed 1 year ago

DennisSnijder commented 1 year ago

Context

At the moment, the library requires you to install the enitre aws-sdk which results into a node module of +- 80MB. AWS has a standalone SDK for the S3 client, which reduces the AWS dependency from 80MB to ~4MB.

What has been done

How to test

Breaking changes

DennisSnijder commented 1 year ago

@abudaan @marlonbaeten bump

ianatha commented 1 year ago

I'd love to see this!

DennisSnijder commented 1 year ago

@ianatha it's been a while since this PR has been opened, I guess this repository is unmaintainted 😢. I see you're publishing your fork to NPM with this PR, that might be a good solution in the meantime! 🥳

Edit: for anyone else seeing this use: @ianatha/storage-abstraction@2.0.2 😄

marlonbaeten commented 1 year ago

@abudaan could you take a look at this?