sindresorhus / get-stream

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

Refactoring simplifying code #57

Closed ehmicky closed 1 year ago

ehmicky commented 1 year ago

This PR simplifies the logic without modifying the behavior.