
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
github-collect
Advanced tools
A NodeJS library for getting Github objects like repositories, members, gists for users and orgs.
A NodeJS library for getting Github objects like repositories, members, gists for users and orgs.
npm install github-collect
Configuration is handled by rc so any of those valid ways of definingconfiguration will work.
github_token
: Your Oauth token for Github; you can create one on your Github
account under Settings -> Applications.
Example of using an environment variable:
export github_collect_github_token=abc
var gc = require('github-collect');
// Get returns a promise
gc.get('username').done(function(data) {
console.log(data);
});
// Username can be an array or a string of names separated by columns
gc.get('username1,username2');
gc.get(['username1', 'username2']);
Provides promises with q.
What you will get back in return is a keyed object by username of the
Github information for that username with a custom property called objects
which holds the supplementary objects.
{
organization_name: {
...,
objects: {
repos: [],
gists: [],
members: []
}
},
user_name: {
...,
objects: {
repos: [],
gists: []
}
}
}
npm install -g mocha
mocha
FAQs
A NodeJS library for getting Github objects like repositories, members, gists for users and orgs.
The npm package github-collect receives a total of 3 weekly downloads. As such, github-collect popularity was classified as not popular.
We found that github-collect 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.