requesturl-stream
v1.0.0
Published
Tiny wrapper around request so we can pipe URLs Stream to it
Downloads
7
Readme
requesturl-stream
var requestStream = require('requesturl-stream')
var pumpify = require('pumpify')
var requestOptions = {
json: true,
headers: headers = { 'User-Agent': 'request' }
}
var pipeline = pumpify.obj(
requestStream(requestOptions),
process.stdout
)
pipeline.write('http://google.com')