@vadzim/readstream
v1.1.1
Published
read all stream to a promise
Downloads
3
Readme
readstream
Read the whole stream to a promise.
If some of data is not a buffer or a string, then the result will be an array. If all the data is string, then a string is returned. Otherwise a buffer is returned.