Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
all-contributors-for-repository
Advanced tools
Generates an allcontributors list for an existing repository.
Generates an allcontributors list for an existing repository.
npm i all-contributors-for-repository
import { createAllContributorsForRepository } from "all-contributors-for-repository";
const contributors = await createAllContributorsForRepository({
owner: "JoshuaKGoldberg",
repo: "template-typescript-node-package",
});
/*
{
john_reilly: [ 'bug', 'code' ],
joshuakgoldberg: [ 'maintenance', 'tool' ],
}
*/
Warning This tool only sees contributions that can be detected from the last 500 events in GitHub's API. Don't forget to manually add in other forms of contributions!
The types of contributions detected are:
bug
: anybody who filed an issue labeled as accepting PRs and a bug (see options)computer
: all PR authors and co-authorsdoc
: authors of merged PRs that address issues labeled as accepting PRs and docs (see options)maintenance
: adding labels to issues and PRs, and merging PRsreview
: submitting a review for a PRtool
: authors of merged PRs that address issues labeled as accepting PRs and tooling (see options)💡 Given that list of contributors, you might want to run
all-contributors add
on each contributor & contribution type.
import { $ } from "execa"; for (const [contributor, contributions] of Object.entries(contributors)) { for (const contribution of contributions) { await $`npx all-contributors add ${contributor} ${contribution}`; } }
See .github/CONTRIBUTING.md
, then .github/DEVELOPMENT.md
.
Thanks! 💖
Josh Goldberg 🔧 🐛 💻 🚧 👀 📖 |
💙 This package is based on @JoshuaKGoldberg's template-typescript-node-package.
FAQs
Generates an allcontributors list for an existing repository. 🤝
The npm package all-contributors-for-repository receives a total of 942 weekly downloads. As such, all-contributors-for-repository popularity was classified as not popular.
We found that all-contributors-for-repository demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.