Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
getcontributors
Advanced tools
Fetch the contributors of the repositories of the specified github users
Fetch the contributors of the repositories of the specified github users
npm install --save getcontributors
// Create our contributors instance
var contributors = require('getcontributors').create({
githubClientId: null, // optional, will try process.env.GITHUB_CLIENT_ID
githubClientSecret: null, // optional, will try process.env.GITHUB_CLIENT_SECRET
log: console.log // optional, arguments: level, message...
});
// Fetch all the contributors on these github repositories
contributors.fetchContributorsFromRepos(['bevry/getcontributors'], function(err){
console.log(err);
// Fetch all the contributors on these github users/organisations
contributors.fetchContributorsFromUsers(['bevry'], function(err){
console.log(err);
// Get the combined listing
console.log(contributors.getContributors());
});
});
Contributors are returned as an array of contributor objects, here is an example contributor object:
{
name: "Benjamin Lupton",
email: "b@lupton.cc",
url: "https://github.com/balupton",
username: "balupton",
text: "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
repos: {
"bevry/docpad": "https://github.com/bevry/docpad",
"bevry/getcontributors": "https://github.com/bevry/getcontributors"
// ...
}
}
You can discover the history inside the History.md
file
Licensed under the incredibly permissive MIT License
Copyright © 2012+ Bevry Pty Ltd
v1.2.0 2013 September 20
FAQs
Fetch all the contributors from a github repository, github organisation, or github search
The npm package getcontributors receives a total of 24 weekly downloads. As such, getcontributors popularity was classified as not popular.
We found that getcontributors 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.