Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to sdk stream mixin #55

Open
jdub233 opened this issue Feb 14, 2024 · 0 comments
Open

Switch to sdk stream mixin #55

jdub233 opened this issue Feb 14, 2024 · 0 comments

Comments

@jdub233
Copy link
Contributor

jdub233 commented Feb 14, 2024

Right now it is necessary to use our own function to convert the stream of the s3 object body to a string:

const imageBuffer = await streamToString(data.Body);

There is now an AWS utility as part of the SDK to do this:
aws/aws-sdk-js-v3#1877 (comment)

Or maybe the more up-to-date way to it is this:
aws/aws-sdk-js-v3#1877 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant