fromwhatwgreadablestream
v1.0.3
Published
Creates a node readable stream from a WhatWGStream
Downloads
8
Readme
Make a Node Readable stream from a WhatWGStream
Example usage:
expressResponseStream = ...
fetch('https://....').then(response => {
const stream = new FromWhatWGReadableStream({}, response.body);
stream.pipe(expressResponseStream, {end:true});
});