
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
github-request-all
Advanced tools
Iterate and collect all pages of objects for a GitHub API request.
var ghRequestAll = require('github-request-all')
var requestOpts = {
url: 'https://api.github.com/users/alanshaw/repos',
headers: {
'User-Agent': 'Your application UA' // Required by github
}
}
ghRequestAll(requestOpts, function (err, results) {
if (err) throw err
console.log(results) // All repos for alanshaw
})
ghRequestAll(requestOpts, cb)Request all pages of the paginated github request. requestOpts are options passed to request and should, at minimum include the URL to request. cb receives the results array.
ghRequestAll(requestOpts, opts, cb)As above, but the second parameter opts are options for github-request-all:
opts.userAgentSet the "User-Agent" header (default 'github-request-all').
opts.perPageSet the number of items requested in a page (default 100).
opts.onPageCallback called when each page is retrieved.
opts.filterA function to filter the items collected (applied after opts.onPage is called). A callback for Array.prototype.filter.
FAQs
Iterate and collect all pages of objects for a GitHub API request
The npm package github-request-all receives a total of 0 weekly downloads. As such, github-request-all popularity was classified as not popular.
We found that github-request-all demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.