
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
github-repositories
Advanced tools
Get all GitHub repos from a user or an organization
$ npm install github-repositories
const githubRepositories = require('github-repositories');
(async () => {
console.log(await githubRepositories('kevva'));
//=> [{id: 29258368, name: 'animal-sounds', full_name: 'kevva/animal-sounds', …}, …]
})();
Returns a Promise<object[]> with the the repositories.
Type: string
Username or organization to fetch repos from.
Type: object
Type: string
Default: full_name
Can be one of created, updated, pushed, full_name.
Type: string
Default: asc when using full_name, otherwise desc
Can be one of asc or desc.
Type: string
Token to authenticate with. Use this to increase the request count. Github supports up to 60 unauthenticated request per hour. This is also required for accessing private repos.
If you don't have a token you can generate a new one here.
Type: string
Default: https://api.github.com/
To support GitHub Enterprise.
Can be set globally with the GITHUB_ENDPOINT environment variable.
FAQs
Get all Github repos from a user or an organization
The npm package github-repositories receives a total of 148 weekly downloads. As such, github-repositories popularity was classified as not popular.
We found that github-repositories demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.