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)
-
Notifications
You must be signed in to change notification settings - Fork 0
Write data to a CSV or NDJSON file
hubgit/output-stream
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Write data to a CSV or NDJSON file