Skip to content

hubgit/output-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example usage

const output = require('output-stream')('repositories.ndjson')

require('rest-collection-stream')('https://api.github.com/search/repositories', {
  qs: {
    sort: 'stars',
    order: 'desc',
    q: 'language:javascript'
  },
  headers: {
    'User-Agent': 'rest-collection'
  }
}).pipe(output)