sindresorhus / get-stream

Get a stream as a string, Buffer, ArrayBuffer or array
MIT License
341 stars 33 forks source link

Validate streams in object mode #75

Closed ehmicky closed 1 year ago

ehmicky commented 1 year ago

This PR validates against passing to getStream() or getStreamAsBuffer() a stream that is in object mode.