gh-client

0.0.2 • Public • Published

gh-client

Minimal streaming client for the github API

Build Status

Usage

var github = require('gh-client')();
var request = github({
    method: 'GET',
    uri:    '/users/octocat'
}).pipe(process.stdout);

request.on('error', function (err) {
    // Oh noes! 
});

Callback

var github = require('gh-client')();
var request = github({
    method: 'GET',
    uri:    '/users/octocat'
}, function (err, body) {
    console.log(body);
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.21latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.21
0.0.10

Package Sidebar

Install

npm i gh-client

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • drk