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!
;;;const digest = await;console;
Node >= 4, tested on latest Node and latest LTS Node.
npm install --save pond
const buffer = await stream;
const buffer = await ;
This project is released under the terms of MIT License.