lib/conversions.js
function arrayToWeb(arr) {
    return new ReadableStream({
        start(controller) {
            for (var i = 0; i < arr.length; i++) {
                controller.enqueue(arr[i]);
            }
            controller.close();
        }
    });
}
function arrayToWeb(arr) {
    return new ReadableStream({
        start(controller) {
            for (var i = 0; i < arr.length; i++) {
                controller.enqueue(arr[i]);
            }
            controller.close();
        }
    });
}
function arrayToWeb ( arr ) { return new ReadableStream ( { start ( controller ) { for ( var i = 0 ; i < arr . length ; i ++ ) { controller . enqueue ( arr [ i ] ) ; } controller . close ( ) ; } } ) ; }
ReadableStream wrapping an array.

@param {Array} arr, the array to wrap into a stream.
@return {ReadableStream}
ReadableStream wrapping an array .