Closed philipjscott closed 5 years ago
Some stream APIs expect duplex stream support, such that you can create data pipelines, eg. a | b | c > d. simple-thumbnail does not provide a way to get a duplex stream.
a | b | c > d
simple-thumbnail
genThumbnail(null, null, '250x?') // Returns duplex stream
Why the double nulls? To keep it consistent with the existing API.
Issue: https://github.com/ScottyFillups/simple-thumbnail/issues/47
:tada: This PR is included in version 1.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Context
Some stream APIs expect duplex stream support, such that you can create data pipelines, eg.
a | b | c > d
.simple-thumbnail
does not provide a way to get a duplex stream.Objective
Why the double nulls? To keep it consistent with the existing API.
References
Issue: https://github.com/ScottyFillups/simple-thumbnail/issues/47