github
Version:
NodeJS wrapper for the GitHub API
20 lines (15 loc) • 337 B
JavaScript
;
var Client = require("./../lib/index");
var testAuth = require("./../testAuth.json");
var github = new Client({
debug: true
});
github.authenticate({
type: "oauth",
token: testAuth["token"]
});
github.orgs.getOutsideCollaborators({
org: "facebook"
}, function(err, res) {
console.log(err, res);
});