
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
fetch-github-repositories
Advanced tools
Fetch github repositories for a given user (or an organization).
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i fetch-github-repositories
# or
$ yarn add fetch-github-repositories
const fetchGithubRepositories = require("fetch-github-repositories");
async function main() {
const options = { agent: "my-program" };
const repos = await fetchGithubRepositories("userName", options);
// Do the job with repos
}
main().catch(console.error);
Return an Array of repositories (the interface can be found in index.d.ts).
Options:
| name | default value | description |
|---|---|---|
| agent | "fetch-github-repo" | User-Agent header (required by github) |
| token | undefined | github token for private repositories |
MIT
FAQs
Fetch github repositories for a given user (or organization)
The npm package fetch-github-repositories receives a total of 1 weekly downloads. As such, fetch-github-repositories popularity was classified as not popular.
We found that fetch-github-repositories 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.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.