github-with-auth

1.0.1 • Public • Published

github-with-auth

Get started on creating CLI github programs in no time.

Combines github + ghauth to make it faster to get started on using the github api.

See https://github.com/mikedeboer/node-github for the instantiated object.

npm install github-with-auth

Usage

var github = require('github-with-auth');

github(['repo'], function(err, github) {
	if (err) throw err;

	github.repos.get({user:'freeall', repo:'github-with-auth'}, function(err, repo) {
		console.log(repo);
	});
});

License

MIT

/github-with-auth/

    Package Sidebar

    Install

    npm i github-with-auth

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • freeall