Arrayify Stream
Converts a Node readable stream into an array that is returned as a promise.
This is a very simple zero-dependency implementation.
Usage
const arrayifyStream = require('arrayify-stream');
...
let myArray = await arrayifyStream(myStream);
License
This software is written by Ruben Taelman.This code is released under the MIT license.