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);
});
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.2 | 1 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.0.2 | 1 | |
0.0.1 | 0 | |
Package Sidebar
Install
Weekly Downloads