gh-client
0.0.2 • Public • Published gh-client
Minimal streaming client for the github API
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);
});
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads