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