Collect a stream into a buffer.
Please aware that, because buffers came out from a stream are buffered into the memory, DO NOT try to collect a stream that is large or with unknowable length!
Node >= 0.12, also tested on Node 4 ~ Node 8.
npm install pond
let buffer = await stream
let buffer = await
This project is released under the terms of MIT License.