Skip to content

thibauts/node-url-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published