Closed DennisSnijder closed 1 year ago
@abudaan @marlonbaeten bump
I'd love to see this!
@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
😄
@abudaan could you take a look at this?
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
aws-sdk
package in favor of@aws-sdk/client-s3
AdapterAmazonS3
to use the updated S3 SDK APIHow to test
region
when using the S3 Adapter, therefore a new environment variables is added to the .env.example fileAWS_REGION
Breaking changes
region
paramater when using the S3 adapter.