node-github Build Status

Node.JS GitHub API (v3) Wrapper

Installation

$ npm install github

Example Code

var github = require('github');

// get user information
github.getUser('Looney-Dev', function(error, user) {
  console.log(user);
});

// get users repos
github.getUserRepos('Looney-Dev', function(error, repos) {
  console.log(repos);
});

// get users watched repos
github.getUsersWatched('Looney-Dev', function(error, watched) {
  console.log(watched);
});

// get an organizations github users
github.getOrgMembers('github', function(error, members) {
  console.log(members);
});

Running Tests

* Tests are being reworked. Considering using process.env['github_username'] etc...?

License (MIT)

Copyright (c) 2019, Looney - Jimmy.

**

Author: Jimmy - Looney

Bitdeli Badge