index.js
function simpleGetStream (opts) {
  var stream = through2()
  stream.req = simpleGet.call(this, opts, function callback (err, res) {
    stream.res = res
    if (err) return stream.emit('error', err)
    res.pipe(stream)
  })
  return stream
}
function simpleGetStream (opts) {
  var stream = through2()
  stream.req = simpleGet.call(this, opts, function callback (err, res) {
    stream.res = res
    if (err) return stream.emit('error', err)
    res.pipe(stream)
  })
  return stream
}
function simpleGetStream ( opts ) { var stream = through2 ( ) stream . req = simpleGet . call ( this , opts , function callback ( err , res ) { stream . res = res if ( err ) return stream . emit ( 'error' , err ) res . pipe ( stream ) } ) return stream }
> Request a page and return a response stream

**Example**

```js
const request = require('simple-get-stream')
const stream = request('http://www.tunnckocore.tk')

stream.once('error', console.error)
stream.pipe(process.stdout) // => html content of the page
```

@name  simpleGetStream
@param  {String|Object} `<opts>` Url or options object, passed to `simple-get`.
@return {Stream} Response stream instead of Request stream as `simple-get` does.
@api public
> Request a page and return a response stream