Skip to content

Switch to sdk stream mixin #55

@jdub233

Description

@jdub233

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions