output-stream

0.3.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i output-stream

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

3.6 kB

Total Files

4

Last publish

Collaborators

  • aeaton