0.3.0 • Published 3 years ago
output-stream v0.3.0
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)