Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@dashlog/fetch-github-repositories
Advanced tools
Fetch github repositories for a given user (or organization)
Fetch github repositories for a given user (or an organization).
users
and orgs
endpoints with the kind option.This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @dashlog/fetch-github-repositories
# or
$ yarn add @dashlog/fetch-github-repositories
import { fetch, fetchLazy } from "@dashlog/fetch-github-repositories";
const repos = await fetch("fraxken", {
fetchUserOrgs: true // if you want an equivalent of "repos"
});
// or use lazy API
for await (const repo of fetchLazy("fraxken")) {
console.log(repo.full_name);
}
Return an Array of repositories (the interface can be found in index.d.ts).
export interface FetchOptions {
/**
* @default fetch-github-repo
*/
agent?: string;
token?: string | null;
/**
* @default users
*/
kind?: "users" | "orgs";
/**
* Fetch the repositories of all orgs for a given user
* @default false
*/
fetchUserOrgs?: boolean;
}
Same arguments as fetch.
Thanks goes to these wonderful people (emoji key):
Gentilhomme 💻 🐛 📖 🛡️ |
MIT
FAQs
Fetch github repositories for a given user (or organization)
The npm package @dashlog/fetch-github-repositories receives a total of 1 weekly downloads. As such, @dashlog/fetch-github-repositories popularity was classified as not popular.
We found that @dashlog/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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.