Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Fix example url #162

Open
dhruvdutt opened this issue Aug 21, 2018 · 0 comments
Open

Fix example url #162

dhruvdutt opened this issue Aug 21, 2018 · 0 comments

Comments

@dhruvdutt
Copy link

The URL mentioned in the sample example is invalid / 404.

http://isaacs.couchone.com/registry/_all_docs

var request = require('request')
  , JSONStream = require('JSONStream')
  , es = require('event-stream')

request({url: 'http://isaacs.couchone.com/registry/_all_docs'})
  .pipe(JSONStream.parse('rows.*'))
  .pipe(es.mapSync(function (data) {
    console.error(data)
    return data
  }))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant