anacronw / multer-s3

multer storage engine for amazon s3
MIT License
660 stars 190 forks source link

Meaning of the option replacementStream? #154

Closed vincentwinkel closed 3 years ago

vincentwinkel commented 3 years ago

What is the option replacementStream found in the code and how to use it?

I'm interested in calculating the image dimensions before sending streamed data to S3 but it may have a bug in aws sdk (see here: https://github.com/aws/aws-sdk-js/issues/3766).

I have the feeling this option can help me, but I don't understand how.

vincentwinkel commented 3 years ago

I inspected better the code and solved my concern.