0.0.1 • Published 10 years ago

url-stream v0.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

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