url-stream

0.0.1 • Public • Published

url-stream

Transforms a stream of URLs into a stream of their body content

Takes a stream of URLs separated by newlines as input, and outputs the corresponding body contents.

Installation

$ npm install url-stream

Usage

var urlStream = require('url-stream');
 
var transform = urlStream.createStream();
transform.on('error', function(err) {
  console.error(err);
});
 
process.stdin.pipe(transform).pipe(process.stdout);

Readme

Keywords

Package Sidebar

Install

npm i url-stream

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • thibauts