requesturl-stream

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i requesturl-stream

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bmpvieira