ZJONSSON / node-unzipper

node.js cross-platform unzip using streams
Other
424 stars 114 forks source link

Add support for @aws-sdk version 3 #325

Open alice-was-here opened 1 week ago

alice-was-here commented 1 week ago

This should resolve this issue: https://github.com/ZJONSSON/node-unzipper/issues/241

I have used a variation of @Sljux's solution to make the interface compatible with the current stream interface.

I've chosen to make the v3 interface a completely separate method... the two clients are different enough that I think it makes sense to break them into two different paths. I can merge them under one function call if people would prefer that.