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.
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.