UNPKG

github

Version:
20 lines (15 loc) 319 B
"use strict"; var Client = require("./../lib/index"); var testAuth = require("./../testAuth.json"); var github = new Client({ debug: true }); github.authenticate({ type: "oauth", token: testAuth["token"] }); github.search.issues({ q: "bazinga" }, function(err, res) { console.log(err, res); });