{"_id":"ghutils","_rev":"411116","name":"ghutils","description":"A collection of utility functions for dealing with the GitHub API","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"time":{"modified":"2021-08-04T05:08:51.000Z","created":"2015-05-24T05:15:29.209Z","4.0.0":"2019-10-20T10:50:36.874Z","3.2.6":"2018-11-09T18:19:10.467Z","3.2.5":"2018-06-22T15:58:28.054Z","3.2.4":"2018-04-06T06:13:37.773Z","3.2.2":"2018-02-12T10:50:45.522Z","3.2.1":"2016-10-18T01:34:28.064Z","3.2.0":"2015-12-14T12:40:44.229Z","3.1.0":"2015-08-18T05:35:03.081Z","3.0.1":"2015-06-27T10:49:34.507Z","3.0.0":"2015-06-22T12:19:52.559Z","2.0.0":"2015-06-19T13:05:44.535Z","1.3.0":"2015-06-19T10:50:28.583Z","1.2.1":"2015-06-09T12:47:02.522Z","1.2.0":"2015-06-09T12:42:56.557Z","1.1.0":"2015-06-09T12:25:19.942Z","1.0.0":"2015-05-24T05:15:29.209Z"},"users":{},"author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"versions":{"4.0.0":{"name":"ghutils","version":"4.0.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~3.0.1"},"scripts":{"lint":"standard *.js","test":"npm run lint && tape test.js"},"devDependencies":{"standard":"~14.3.1","tape":"~4.11.0"},"gitHead":"b36a73611d7a7aa049e1d320afa5c05670c132c3","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@4.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"7da12d0d1cc88778b56fc46d8ed6c3f5bf9ad8fc","size":4352,"noattachment":false,"key":"/ghutils/-/ghutils-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-4.0.0.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"_npmUser":{"name":"rvagg","email":"r@va.gg"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghutils_4.0.0_1571568636692_0.17696957988457052"},"_hasShrinkwrap":false,"publish_time":1571568636874,"_cnpm_publish_time":1571568636874},"3.2.6":{"name":"ghutils","version":"3.2.6","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~2.1.0","xtend":"~4.0.1"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.9.0"},"gitHead":"962e556c8720c60ecac807a001cb72089684b40d","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.6","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"d43986e267da02787464d97a6489659e4609bb1f","size":4094,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.6.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghutils_3.2.6_1541787550250_0.9022707904281635"},"_hasShrinkwrap":false,"publish_time":1541787550467,"_cnpm_publish_time":1541787550467},"3.2.5":{"name":"ghutils","version":"3.2.5","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~2.1.0","xtend":"~4.0.1"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.9.0"},"gitHead":"80d6e4732f3b976a8a8e2fa81a32c45e41f97d52","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.5","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"b5c9d1837f92242795a40a381439cb56ba2c8060","size":4080,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.5.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghutils_3.2.5_1529683107739_0.6926222404546878"},"_hasShrinkwrap":false,"publish_time":1529683108054,"_cnpm_publish_time":1529683108054},"3.2.4":{"name":"ghutils","version":"3.2.4","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~2.1.0","xtend":"~4.0.1"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.9.0"},"gitHead":"0b147e4dfc2b0d48f3b64604e81e9b8375215a3a","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"rvagg","email":"r@va.gg"},"dist":{"shasum":"661f98de70d1dd0fa4ee744a7f909645d9738c6a","size":4013,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.4.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghutils_3.2.4_1522995217694_0.5121881762832354"},"_hasShrinkwrap":false,"publish_time":1522995217773,"_cnpm_publish_time":1522995217773},"3.2.2":{"name":"ghutils","version":"3.2.2","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~2.1.0","xtend":"~4.0.1"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"8d705d359e4bfc975406c6a0c46d6bfca6552874","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"5ca32da0af46a1a790834da14141f809fadbb262","size":3853,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.2.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghutils_3.2.2_1518432644852_0.7832269308024524"},"_hasShrinkwrap":false,"publish_time":1518432645522,"_cnpm_publish_time":1518432645522},"3.2.1":{"name":"ghutils","version":"3.2.1","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.3.0","xtend":"~4.0.1"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"eef0f0ca4a0882215083cb2d0ebfccab64f3470e","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.1","_shasum":"4fcedffac935fcace06e12a17c6174e2c29ffe4f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"dist":{"shasum":"4fcedffac935fcace06e12a17c6174e2c29ffe4f","size":3919,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.1.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ghutils-3.2.1.tgz_1476754467807_0.7845414550974965"},"directories":{},"publish_time":1476754468064,"_cnpm_publish_time":1476754468064,"_hasShrinkwrap":false},"3.2.0":{"name":"ghutils","version":"3.2.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.2.0","xtend":"~4.0.0"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"79fa494dad8fd1a929b47da3a58448dc28b1a0ac","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.2.0","_shasum":"cbae545d88f4194754004603d4b5cb9c6537864e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"cbae545d88f4194754004603d4b5cb9c6537864e","size":3918,"noattachment":false,"key":"/ghutils/-/ghutils-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.2.0.tgz"},"directories":{},"publish_time":1450096844229,"_cnpm_publish_time":1450096844229,"_hasShrinkwrap":false},"3.1.0":{"name":"ghutils","version":"3.1.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.2.0","xtend":"~4.0.0"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"b759baf26ac5fcfb42f8e5c3a46a7e7c92c0ad97","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils","_id":"ghutils@3.1.0","_shasum":"afc057c1c4cf34a52ae49db182c29dc3e6c16953","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"afc057c1c4cf34a52ae49db182c29dc3e6c16953","size":3506,"noattachment":false,"key":"/ghutils/-/ghutils-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.1.0.tgz"},"directories":{},"publish_time":1439876103081,"_cnpm_publish_time":1439876103081,"_hasShrinkwrap":false},"3.0.1":{"name":"ghutils","version":"3.0.1","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.1.0","xtend":"~4.0.0"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"1007fa2e9c0f698b931e99e6e019ac8d673f3b44","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@3.0.1","_shasum":"5a6ccd0182485f7b0a10875e9a5f170bb924ada4","_from":".","_npmVersion":"2.12.0","_nodeVersion":"2.3.1","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"5a6ccd0182485f7b0a10875e9a5f170bb924ada4","size":3337,"noattachment":false,"key":"/ghutils/-/ghutils-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.0.1.tgz"},"directories":{},"publish_time":1435402174507,"_cnpm_publish_time":1435402174507,"_hasShrinkwrap":false},"3.0.0":{"name":"ghutils","version":"3.0.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.0.2","xtend":"~4.0.0"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"~4.0.0"},"gitHead":"ef63edb44ce92644b2dd68cfdb561109146bc9df","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils","_id":"ghutils@3.0.0","_shasum":"cf45f9a879f1a7eaaa202ef3ea565c5ecba70959","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"cf45f9a879f1a7eaaa202ef3ea565c5ecba70959","size":3330,"noattachment":false,"key":"/ghutils/-/ghutils-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-3.0.0.tgz"},"directories":{},"publish_time":1434975592559,"_cnpm_publish_time":1434975592559,"_hasShrinkwrap":false},"2.0.0":{"name":"ghutils","version":"2.0.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rvagg/ghutils.git"},"dependencies":{"bl":"~0.9.4","jsonist":"~1.0.2","xtend":"~4.0.0"},"scripts":{},"gitHead":"2c79a3010a1bfcc2a09a16ec5c1f0ff6afe25a68","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils","_id":"ghutils@2.0.0","_shasum":"941e93031761e10e76089c00aaca6fa47c8ba556","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"941e93031761e10e76089c00aaca6fa47c8ba556","size":2890,"noattachment":false,"key":"/ghutils/-/ghutils-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-2.0.0.tgz"},"directories":{},"publish_time":1434719144535,"_cnpm_publish_time":1434719144535,"_hasShrinkwrap":false},"1.3.0":{"name":"ghutils","version":"1.3.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rvagg/ghutils.git"},"dependencies":{"bl":"~0.9.4","jsonist":"~1.0.2","xtend":"~4.0.0"},"scripts":{},"gitHead":"b3a1fd07e70b6bdf99797aa6860df2dbfdc3e126","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils","_id":"ghutils@1.3.0","_shasum":"833019bfe787de049bf68df33d9e10737db28d53","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"833019bfe787de049bf68df33d9e10737db28d53","size":3070,"noattachment":false,"key":"/ghutils/-/ghutils-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-1.3.0.tgz"},"directories":{},"publish_time":1434711028583,"_cnpm_publish_time":1434711028583,"_hasShrinkwrap":false},"1.2.1":{"name":"ghutils","version":"1.2.1","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"bl":"~0.9.4","jsonist":"~1.0.2","xtend":"~4.0.0"},"gitHead":"e3c333597d7e77b46cd618cc02b463cd3adcdcdf","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@1.2.1","scripts":{},"_shasum":"394a9f4c1708548e2cdad12750df79b94304a0c3","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.1-nightly20150604d3343aff58","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"394a9f4c1708548e2cdad12750df79b94304a0c3","size":3007,"noattachment":false,"key":"/ghutils/-/ghutils-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-1.2.1.tgz"},"directories":{},"publish_time":1433854022522,"_cnpm_publish_time":1433854022522,"_hasShrinkwrap":false},"1.2.0":{"name":"ghutils","version":"1.2.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.0.2","xtend":"~4.0.0"},"gitHead":"a8c7fe1ac55369be2c1454db9b90846923918144","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@1.2.0","scripts":{},"_shasum":"9e50d202d58c780df60b76c4ea0cbe1e7c611d1d","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.1-nightly20150604d3343aff58","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"9e50d202d58c780df60b76c4ea0cbe1e7c611d1d","size":3014,"noattachment":false,"key":"/ghutils/-/ghutils-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-1.2.0.tgz"},"directories":{},"publish_time":1433853776557,"_cnpm_publish_time":1433853776557,"_hasShrinkwrap":false},"1.1.0":{"name":"ghutils","version":"1.1.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.0.2","xtend":"~4.0.0"},"gitHead":"b48c6c0dd9caa3c07a5b12fde1b0af079999bf06","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@1.1.0","scripts":{},"_shasum":"9cb6b3a76420f7e9a00e87cf98e0d5ae4569e63c","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.1-nightly20150604d3343aff58","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"9cb6b3a76420f7e9a00e87cf98e0d5ae4569e63c","size":2323,"noattachment":false,"key":"/ghutils/-/ghutils-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-1.1.0.tgz"},"directories":{},"publish_time":1433852719942,"_cnpm_publish_time":1433852719942,"_hasShrinkwrap":false},"1.0.0":{"name":"ghutils","version":"1.0.0","description":"A collection of utility functions for dealing with the GitHub API","main":"ghutils.js","author":{"name":"Rod","email":"rod@vagg.org","url":"http://r.va.gg/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rvagg/ghutils.git"},"dependencies":{"jsonist":"~1.0.2","xtend":"~4.0.0"},"gitHead":"7fdeaec70226d1fffd416c2b582c157685539cf1","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"homepage":"https://github.com/rvagg/ghutils#readme","_id":"ghutils@1.0.0","scripts":{},"_shasum":"b9e148d4078e02628dc69bf4f11b50ab179a7211","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"b9e148d4078e02628dc69bf4f11b50ab179a7211","size":2204,"noattachment":false,"key":"/ghutils/-/ghutils-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghutils/download/ghutils-1.0.0.tgz"},"directories":{},"publish_time":1432444529209,"_cnpm_publish_time":1432444529209,"_hasShrinkwrap":false}},"readme":"# ghutils\n\n[![Build Status](https://api.travis-ci.com/rvagg/ghutils.svg?branch=master)](https://travis-ci.com/rvagg/ghutils)\n\n**A collection of utility functions for dealing with the GitHub API**\n\n[![NPM](https://nodei.co/npm/ghissues.svg)](https://nodei.co/npm/ghissues/)\n\nUsed by:\n\n* [ghissues](https://github.com/rvagg/ghissues) - a Node.js library to interact with the GitHub Issues API\n* [ghpulls](https://github.com/rvagg/ghpulls) - a Node.js library to interact with the GitHub Pull Request API\n* [ghrepos](https://github.com/rvagg/ghrepos) - a Node.js library to interact with the GitHub Repos API\n* [ghusers](https://github.com/rvagg/ghusers) - a Node.js library to interact with the GitHub Users API\n* [ghteams](https://github.com/rvagg/ghteams) - a Node.js library to interact with the GitHub Teams API\n* [ghreleases](https://github.com/ralphtheninja/ghreleases) - a Node.js library to interact with the GitHub Releases API\n\n## API\n\n### makeOptions(auth, options)\n\nHelper to make options to pass to [jsonist](http://github.com/rvagg/jsonist) given a GitHub auth from [ghauth](https://github.com/rvagg/ghauth) and any additional options.\n\n### handler(callback)\n\nTakes a JSON response from the GitHub API and turns any errors and applies them properly to the `callback`.\n\n### ghpost(auth, url, data, options, callback)\n\nMake a GitHub API compatible POST request to the given URL via [jsonist](http://github.com/rvagg/jsonist), uses `makeOptions()` to extend the options. Requires a GitHub auth from [ghauth](https://github.com/rvagg/ghauth) and any additional options.\n\n### ghget(auth, url, options, callback)\n\nMake a GitHub API compatible GET request to the given URL via [jsonist](http://github.com/rvagg/jsonist), uses `makeOptions()` to extend the options. Requires a GitHub auth from [ghauth](https://github.com/rvagg/ghauth) and any additional options.\n\n### lister(auth, urlbase, options, callback)\n\nGiven a paginated url resource, recursively fetch all available pages of data and return an array containing the complete list.\n\n### apiRoot\n\nThe api root url `'https://api.github.com'`.\n\n## License & Copyright\n\n**ghutils** is Copyright (c) 2015 Rod Vagg [@rvagg](https://twitter.com/rvagg) and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.\n","_attachments":{},"homepage":"https://github.com/rvagg/ghutils#readme","bugs":{"url":"https://github.com/rvagg/ghutils/issues"},"license":"MIT"}