fromwhatwgreadablestream

1.0.3 • Public • Published

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});
});

Readme

Keywords

Package Sidebar

Install

npm i fromwhatwgreadablestream

Weekly Downloads

1

Version

1.0.3

License

Apache-2.0

Last publish

Collaborators

  • kinlan