$ npm install --save gothub
With gh-got, you do this:
var ghGot = ;;
With gothub, you can do this:
var gothub = ;var github = token:'foo' endpoint:'' ;github;
gothub moves the
endpoint options into the constructor.
Much of the work was shamelessly borrowed from Sindre Sorhus - I simply rearranged some things.