{"_id":"ghrepos","_rev":"411100","name":"ghrepos","description":"Interact with the GitHub repos API","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"time":{"modified":"2021-08-04T05:08:48.000Z","created":"2015-04-11T11:24:16.185Z","2.1.0":"2017-10-28T15:53:28.140Z","2.0.0":"2015-12-23T21:34:18.874Z","1.5.0":"2015-08-26T13:12:20.108Z","1.4.0":"2015-08-26T13:11:04.298Z","1.3.1":"2015-08-19T14:27:29.119Z","1.3.0":"2015-06-29T22:07:50.081Z","1.2.0":"2015-06-22T12:35:43.791Z","1.1.1":"2015-06-17T19:19:47.912Z","1.1.0":"2015-06-17T18:51:08.200Z","1.0.5":"2015-06-09T12:48:33.588Z","1.0.4":"2015-06-09T12:27:36.692Z","1.0.3":"2015-04-14T06:58:19.207Z","1.0.2":"2015-04-11T11:30:16.131Z","1.0.1":"2015-04-11T11:27:15.100Z","1.0.0":"2015-04-11T11:24:16.185Z"},"users":{"daniellink":true},"author":{"name":"Rod Vagg","email":"r@va.gg"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"versions":{"2.1.0":{"name":"ghrepos","version":"2.1.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.2.0"},"devDependencies":{"faucet":"0.0.1","ghauth":"^3.2.1","tape":"~4.3.0","xtend":"~4.0.0"},"gitHead":"e5ff8fded0fb421d4cc0610c1f84d5cc242c0dc0","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"abaf558b690b722c70c7ad45076f6f9be8e495e1","size":4757,"noattachment":false,"key":"/ghrepos/-/ghrepos-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-2.1.0.tgz"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ghrepos-2.1.0.tgz_1509206007247_0.3080993741750717"},"directories":{},"publish_time":1509206008140,"_hasShrinkwrap":false,"_cnpm_publish_time":1509206008140},"2.0.0":{"name":"ghrepos","version":"2.0.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.2.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.2.2","xtend":"~4.0.0"},"gitHead":"ee0749f6e72a38a0b8edbdfe2321e83199c94687","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@2.0.0","_shasum":"d66eae9d98a3b5398e460d6db7e10a742692e81b","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.3","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"d66eae9d98a3b5398e460d6db7e10a742692e81b","size":4275,"noattachment":false,"key":"/ghrepos/-/ghrepos-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-2.0.0.tgz"},"directories":{},"publish_time":1450906458874,"_cnpm_publish_time":1450906458874,"_hasShrinkwrap":false},"1.5.0":{"name":"ghrepos","version":"1.5.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"0f4474452679bdeb5b6dd6072d3852c43c6fc1ec","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.5.0","_shasum":"618586592921cb1e17e7a76cf64c3f825d1aa667","_from":".","_npmVersion":"2.13.1","_nodeVersion":"3.0.0-rc.5","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"618586592921cb1e17e7a76cf64c3f825d1aa667","size":4313,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.5.0.tgz"},"directories":{},"publish_time":1440594740108,"_cnpm_publish_time":1440594740108,"_hasShrinkwrap":false},"1.4.0":{"name":"ghrepos","version":"1.4.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"633d8999e53b2f6145203b0c92c6dc0e888731eb","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.4.0","_shasum":"2160e24753331b009693988211a69a09cce8a089","_from":".","_npmVersion":"2.13.1","_nodeVersion":"3.0.0-rc.5","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"2160e24753331b009693988211a69a09cce8a089","size":4317,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.4.0.tgz"},"directories":{},"publish_time":1440594664298,"_cnpm_publish_time":1440594664298,"_hasShrinkwrap":false},"1.3.1":{"name":"ghrepos","version":"1.3.1","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"363cecd3a34f9cd98feb95590448a24a8c14a2f7","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.3.1","_shasum":"bc05b86172ad8784e84fc6d91b44bb7a4b9f6d74","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"bc05b86172ad8784e84fc6d91b44bb7a4b9f6d74","size":4132,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.3.1.tgz"},"directories":{},"publish_time":1439994449119,"_cnpm_publish_time":1439994449119,"_hasShrinkwrap":false},"1.3.0":{"name":"ghrepos","version":"1.3.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"ef8bf1cb712f9fec5a35e7b2db95a5b25319a61f","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.3.0","_shasum":"73320ee55c71e3e54d1071617d3cd843f5fcc168","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.2-nightly20150625dcbb9e1da6","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"73320ee55c71e3e54d1071617d3cd843f5fcc168","size":4159,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.3.0.tgz"},"directories":{},"publish_time":1435615670081,"_cnpm_publish_time":1435615670081,"_hasShrinkwrap":false},"1.2.0":{"name":"ghrepos","version":"1.2.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~3.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"ad35dd4b21790310d9fcd853d16109ec60e1fed5","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.2.0","_shasum":"2e331de0e30d237ac1377340b1ad5c355e90b429","_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":"2e331de0e30d237ac1377340b1ad5c355e90b429","size":4033,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.2.0.tgz"},"directories":{},"publish_time":1434976543791,"_cnpm_publish_time":1434976543791,"_hasShrinkwrap":false},"1.1.1":{"name":"ghrepos","version":"1.1.1","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~1.2.1"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"205acd9c25a859fe920efd6c551cfa0cd0f3434b","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.1.1","_shasum":"51e87d68c3ef225d277a7dac50a9acd4e9716236","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1-nightly20150601c5a1009903","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"51e87d68c3ef225d277a7dac50a9acd4e9716236","size":3407,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.1.1.tgz"},"directories":{},"publish_time":1434568787912,"_cnpm_publish_time":1434568787912,"_hasShrinkwrap":false},"1.1.0":{"name":"ghrepos","version":"1.1.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~1.2.1"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"ed4cd2dab98d99070f0bbdd7db766b4920fce271","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.1.0","_shasum":"981f3eaf82095358f110d1f3eae59418022af3b3","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1-nightly20150601c5a1009903","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"981f3eaf82095358f110d1f3eae59418022af3b3","size":3403,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.1.0.tgz"},"directories":{},"publish_time":1434567068200,"_cnpm_publish_time":1434567068200,"_hasShrinkwrap":false},"1.0.5":{"name":"ghrepos","version":"1.0.5","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~1.2.1","jsonist":"~1.0.2","xtend":"~4.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"~4.0.0","xtend":"~4.0.0"},"gitHead":"36cf129d2b9d84945d85b70bf7694e55e1df2b1c","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.0.5","_shasum":"8db8ff62e75015bed495628b1b60262c524eeec1","_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":"8db8ff62e75015bed495628b1b60262c524eeec1","size":3678,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.5.tgz"},"directories":{},"publish_time":1433854113588,"_cnpm_publish_time":1433854113588,"_hasShrinkwrap":false},"1.0.4":{"name":"ghrepos","version":"1.0.4","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"git+https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"ghutils":"~1.1.0","jsonist":"~1.0.2","xtend":"~4.0.0"},"devDependencies":{"bl":"~0.9.4","faucet":"0.0.1","tape":"~4.0.0"},"gitHead":"d74916a226ededf55c8a1d97c6e5522b3fbd0efe","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos#readme","_id":"ghrepos@1.0.4","_shasum":"f2a2e64fbc80702aa2c93a2c37ad5983610ce946","_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":"f2a2e64fbc80702aa2c93a2c37ad5983610ce946","size":4266,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.4.tgz"},"directories":{},"publish_time":1433852856692,"_cnpm_publish_time":1433852856692,"_hasShrinkwrap":false},"1.0.3":{"name":"ghrepos","version":"1.0.3","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"jsonist":">=1.0.1 <1.1.0-0","xtend":">=4.0.0 <4.1.0-0"},"devDependencies":{"bl":">=0.9.4 <0.10.0-0","faucet":">=0.0.1 <0.1.0-0","tape":">=4.0.0 <4.1.0-0"},"gitHead":"094f893c21bec5322222452649c4dffb0b344592","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.0.3","_shasum":"4c462d93e4b8449b3a8e592006ac08fc3946f636","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"4c462d93e4b8449b3a8e592006ac08fc3946f636","size":4411,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.3.tgz"},"directories":{},"publish_time":1428994699207,"_cnpm_publish_time":1428994699207,"_hasShrinkwrap":false},"1.0.2":{"name":"ghrepos","version":"1.0.2","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"jsonist":">=1.0.0 <1.1.0-0","xtend":">=4.0.0 <4.1.0-0"},"devDependencies":{"bl":">=0.9.4 <0.10.0-0","faucet":">=0.0.1 <0.1.0-0","tape":">=4.0.0 <4.1.0-0"},"gitHead":"d84a6c3e6dde883a1b02780fd1ffc6072d059eca","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.0.2","_shasum":"85c509265124c24a3a80cda03bc9e637a8b3d3e3","_from":".","_npmVersion":"2.7.1","_nodeVersion":"2.0.0-next-nightly2015041138225a7203","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"85c509265124c24a3a80cda03bc9e637a8b3d3e3","size":4405,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.2.tgz"},"directories":{},"publish_time":1428751816131,"_cnpm_publish_time":1428751816131,"_hasShrinkwrap":false},"1.0.1":{"name":"ghrepos","version":"1.0.1","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"jsonist":">=1.0.0 <1.1.0-0","xtend":">=4.0.0 <4.1.0-0"},"devDependencies":{"bl":">=0.9.4 <0.10.0-0","faucet":">=0.0.1 <0.1.0-0","tape":">=4.0.0 <4.1.0-0"},"gitHead":"2afc5e7f06a24b74327290ba26e43c0fb4bc1d59","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.0.1","_shasum":"2b473783c957816ae5ac40d04c10d9aca77cc18b","_from":".","_npmVersion":"2.7.1","_nodeVersion":"2.0.0-next-nightly2015041138225a7203","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"2b473783c957816ae5ac40d04c10d9aca77cc18b","size":4410,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.1.tgz"},"directories":{},"publish_time":1428751635100,"_cnpm_publish_time":1428751635100,"_hasShrinkwrap":false},"1.0.0":{"name":"ghrepos","version":"1.0.0","description":"Interact with the GitHub repos API","main":"ghrepos.js","scripts":{"test":"node test.js | faucet"},"repository":{"type":"git","url":"https://github.com/rvagg/ghrepos.git"},"keywords":["github","repos","repositories","repository"],"author":{"name":"Rod Vagg","email":"r@va.gg"},"license":"MIT","dependencies":{"jsonist":">=1.0.0 <1.1.0-0","xtend":">=4.0.0 <4.1.0-0"},"devDependencies":{"bl":">=0.9.4 <0.10.0-0","faucet":">=0.0.1 <0.1.0-0","tape":">=4.0.0 <4.1.0-0"},"gitHead":"e14b3644a823a340a3db485315f683709c396658","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"homepage":"https://github.com/rvagg/ghrepos","_id":"ghrepos@1.0.0","_shasum":"15f6f19ce1de25907b4c677b8110645d4ccd7342","_from":".","_npmVersion":"2.7.1","_nodeVersion":"2.0.0-next-nightly2015041138225a7203","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"ralphtheninja","email":""},{"name":"rvagg","email":""}],"dist":{"shasum":"15f6f19ce1de25907b4c677b8110645d4ccd7342","size":4362,"noattachment":false,"key":"/ghrepos/-/ghrepos-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ghrepos/download/ghrepos-1.0.0.tgz"},"directories":{},"publish_time":1428751456185,"_cnpm_publish_time":1428751456185,"_hasShrinkwrap":false}},"readme":"# ghrepos\n\n[![Build Status](https://secure.travis-ci.org/rvagg/ghrepos.png)](http://travis-ci.org/rvagg/ghrepos)\n\n**A node library to interact with the GitHub repos API**\n\n[![NPM](https://nodei.co/npm/ghrepos.png?mini=true)](https://nodei.co/npm/ghrepos/)\n\nSee also:\n\n* https://github.com/rvagg/ghissues\n* https://github.com/rvagg/ghusers\n* https://github.com/rvagg/ghteams\n* https://github.com/rvagg/ghauth\n\n## API\n\n### listUser(auth[, user][, options], callback)\n\nList all repos for a user. If `user` and `options` are omitted the current user is assumed.\n\nList all repos for user `'rvagg'`:\n\n```js\nconst ghrepos     = require('ghrepos')\n    , authOptions = { user: 'rvagg', token: '24d5dee258c64aef38a66c0c5eca459c379901c2' }\n\nghrepos.listUser(authOptions, 'rvagg', function (err, repolist) {\n  console.log(reposlist)\n})\n```\n\n### listOrg(auth, org[, options], callback)\n\nList all repos for a organisation. If `org` and `options` are omitted the current org is assumed.\n\nList all repos for org `'nodejs'`:\n\n```js\nconst ghrepos     = require('ghrepos')\n    , authOptions = { user: 'rvagg', token: '24d5dee258c64aef38a66c0c5eca459c379901c2' }\n\nghrepos.listOrg(authOptions, 'nodejs', function (err, repolist) {\n  console.log(reposlist)\n})\n```\n\n### listRefs(auth, org, repo[, options], callback)\n\nGet git ref data for all refs in a repo.\n\nGet all ref data for `nodejs/node` repo:\n\n```js\nghrepos.listRefs(authOptions, 'nodejs', 'node', function (err, refData) {\n  // data containing ref information including sha and github url\n  console.log(refData)\n})\n```\n\n### listBranches(auth, org, repo[, options], callback)\n\nList git branches for a repo.\n\nGet all branches for `nodejs/node` repo:\n\n```js\nghrepos.listBranches(authOptions, 'nodejs', 'node', function (err, refData) {\n  // data containing branch information including sha and github API url\n  console.log(refData)\n})\n```\n\n### listCommits(auth, org, repo[, options], callback)\n\nList git commits for a repo.\n\nGet all commits for `nodejs/node` repo:\n\n```js\nghrepos.listCommits(authOptions, 'nodejs', 'node', function (err, refData) {\n  // data containing commit information including sha and github API url\n  console.log(refData)\n})\n```\n\n### listTags(auth, org, repo[, options], callback)\n\nList git tags for a repo.\n\nGet all tag for `nodejs/node` repo:\n\n```js\nghrepos.listTags(authOptions, 'nodejs', 'node', function (err, refData) {\n  // data containing tag information including sha and github API url\n  console.log(refData)\n})\n```\n\n### getRef(auth, org, repo, ref[, options], callback)\n\nGet git ref data for a particular ref string.\n\nGet git ref data for `v1.x` branch in `nodejs/node` repo:\n\n```js\nghrepos.getRef(authOptions, 'nodejs', 'node', 'heads/v1.x', function (err, refData) {\n  // data containing ref information including sha and github url\n  console.log(refData)\n})\n```\n\n### getBranch(auth, org, repo, branch[, options], callback)\n\nGet git branch data for a given branch name\n\nGet git branch data for `v1.x` branch in `nodejs/node` repo:\n\n```js\nghrepos.getBranch(authOptions, 'nodejs', 'node', 'v1.x', function (err, refData) {\n  // data containing branch information including sha and github API url\n  console.log(refData)\n})\n```\n\n### getCommit(auth, org, repo, sha1[, options], callback)\n\nGet git commit data for a given sha1\n\nGet git commit data for sha1 `75318e46b` in `nodejs/node` repo:\n\n```js\nghrepos.getCommit(authOptions, 'nodejs', 'node', '75318e46b', function (err, refData) {\n  // data containing commit information including sha and github API url\n  console.log(refData)\n})\n```\n\n### getCommitComments(auth, org, repo, sha1[, options], callback)\n\nGet git commit comments data for a given sha1\n\nGet git commit comments data for sha1 `75318e46b` in `nodejs/node` repo:\n\n```js\nghrepos.getCommitComments(authOptions, 'nodejs', 'node', '75318e46b', function (err, comments) {\n  // array containing commit comments information\n  console.log(JSON.stringify(comments.map(function (i) {\n    return { user: i.user.login, body: i.body }\n  }), null, 2))\n})\n```\n\nYields:\n\n```json\n[\n  {\n    \"user\": \"Trott\",\n    \"body\": \"@cjihrig There's no PR-URL on this commit message. (`core-validate-commit` FTW as usual!)\"\n  },\n  {\n    \"user\": \"mscdex\",\n    \"body\": \"PR-URL is: https://github.com/nodejs/node/pull/15745\"\n  }\n]\n```\n\n### createLister(type)\n\nCreates a function that lists different sub types related to the `'/repos'` api, e.g. list `'issues'`, `'pulls'` or `'releases'`. The function returned has the signature: `function list (auth, org, repo, options, callback)`.\n\n_More methods coming .. as I need them or as you PR them in._\n\n\nThe auth data is compatible with [ghauth](https://github.com/rvagg/ghauth) so you can just connect them together to make a simple command-line application:\n\n```js\nconst ghauth     = require('ghauth')\n    , ghrepos    = require('ghrepos')\n    , authOptions = {\n          configName : 'lister'\n        , scopes     : [ 'user' ]\n      }\n\nghauth(authOptions, function (err, authData) {\n  ghrepos.listUser(authData, 'rvagg', function (err, list) {\n    console.log('Repos for rvagg:')\n    console.log(util.inspect(list.map(function (i) { return {\n        name: i.name\n      , desc: i.description\n      , fork: i.fork\n    }})))\n  })\n})\n```\n\n\n## License\n\n**ghrepos** is Copyright (c) 2015 Rod Vagg [@rvagg](https://github.com/rvagg) and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.\n","_attachments":{},"homepage":"https://github.com/rvagg/ghrepos#readme","bugs":{"url":"https://github.com/rvagg/ghrepos/issues"},"license":"MIT"}