{"_id":"gh-got","_rev":"2974064","name":"gh-got","description":"Convenience wrapper for Got to interact with the GitHub API","dist-tags":{"latest":"10.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2023-06-15T08:24:44.000Z","created":"2015-04-19T14:41:33.281Z","10.0.0":"2022-10-18T08:18:10.135Z","9.0.0":"2020-02-17T16:58:46.184Z","8.1.0":"2019-01-01T14:21:43.628Z","8.0.1":"2018-08-27T06:30:25.851Z","8.0.0":"2018-08-23T17:48:06.024Z","7.1.0":"2018-08-23T14:16:35.900Z","7.0.0":"2017-11-22T14:06:52.430Z","6.0.0":"2017-06-06T14:07:12.991Z","5.0.0":"2016-08-14T17:25:01.966Z","4.0.1":"2016-07-30T13:12:27.356Z","4.0.0":"2016-04-11T14:09:11.448Z","3.0.0":"2016-04-06T17:55:04.543Z","2.4.0":"2015-12-11T20:50:06.843Z","2.3.0":"2015-11-14T19:13:19.309Z","2.2.0":"2015-10-23T16:38:52.197Z","2.1.0":"2015-10-18T09:51:46.359Z","2.0.1":"2015-09-20T16:38:54.037Z","2.0.0":"2015-09-07T08:32:26.153Z","1.1.0":"2015-05-19T20:28:10.632Z","1.0.3":"2015-05-05T09:41:27.179Z","1.0.2":"2015-04-20T07:41:39.599Z","1.0.1":"2015-04-19T15:35:07.946Z","1.0.0":"2015-04-19T14:41:33.281Z"},"users":{"danielbayley":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"versions":{"10.0.0":{"name":"gh-got","version":"10.0.0","description":"Convenience wrapper for Got to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"funding":"https://github.com/sindresorhus/got?sponsor=1","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava"},"keywords":["got","gh","github","api","request","http","https","get","url","utility"],"dependencies":{"got":"^12.5.2"},"devDependencies":{"ava":"^4.3.3","get-stream":"^6.0.1","nock":"^13.2.9","xo":"^0.52.4"},"gitHead":"718356ed3c6246c07e7dcd2ea82cf6da0f2e82ee","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@10.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"shasum":"67455b18a3373e57baaf1eb4f1a010a5e54c663d","size":3145,"noattachment":false,"key":"/gh-got/-/gh-got-10.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-10.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_10.0.0_1666081089946_0.4800573867107727"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-18T08:21:39.572Z","publish_time":1666081090135,"_cnpm_publish_time":1666081090135},"9.0.0":{"name":"gh-got","version":"9.0.0","description":"Convenience wrapper for Got to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"funding":"https://github.com/sindresorhus/got?sponsor=1","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava"},"keywords":["got","gh","github","api","request","http","https","get","url","utility"],"dependencies":{"got":"^10.5.7"},"devDependencies":{"ava":"^3.0.2","get-stream":"^5.1.0","nock":"^12.0.0","xo":"^0.26.1"},"gitHead":"3d68bf6ea8837bff31c7962937d787e5af33ba85","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@9.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5f82eb5c97aa7a0235f50cf277331cdeda879670","size":3060,"noattachment":false,"key":"/gh-got/-/gh-got-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-9.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_9.0.0_1581958726041_0.256703984746647"},"_hasShrinkwrap":false,"publish_time":1581958726184,"_cnpm_publish_time":1581958726184},"8.1.0":{"name":"gh-got","version":"8.1.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^9.5.0"},"devDependencies":{"ava":"^1.0.1","get-stream":"^4.1.0","nock":"^10.0.5","xo":"^0.23.0"},"gitHead":"bf13dc267a9dbac1e1a5be3542e448bf3c151781","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@8.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2378d07ac293f524549c75f8dc6f3604a885ab01","size":2910,"noattachment":false,"key":"/gh-got/-/gh-got-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-8.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_8.1.0_1546352503430_0.8645881777285149"},"_hasShrinkwrap":false,"publish_time":1546352503628,"_cnpm_publish_time":1546352503628},"8.0.1":{"name":"gh-got","version":"8.0.1","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^9.1.0"},"devDependencies":{"ava":"^1.0.0-beta.7","get-stream":"^4.0.0","nock":"^9.1.0","xo":"*"},"gitHead":"e59a7bae98b3a13b12c32da0fef971599d39fe10","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@8.0.1","_npmVersion":"6.4.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"857c5e9bcd52956e14a9f200d010c641a2f992b3","size":2563,"noattachment":false,"key":"/gh-got/-/gh-got-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-8.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_8.0.1_1535351425787_0.4694841015526787"},"_hasShrinkwrap":false,"publish_time":1535351425851,"_cnpm_publish_time":1535351425851},"8.0.0":{"name":"gh-got","version":"8.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^9.1.0"},"devDependencies":{"ava":"^1.0.0-beta.7","get-stream":"^4.0.0","nock":"^9.1.0","xo":"*"},"gitHead":"d20f61c5bf5e3214d4978ce485d8705a7d6d467d","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@8.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"94f86dc6e55ff5e995d2268e967f8f0587efd1c3","size":2244,"noattachment":false,"key":"/gh-got/-/gh-got-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-8.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_8.0.0_1535046485950_0.8182355216717079"},"_hasShrinkwrap":false,"publish_time":1535046486024,"_cnpm_publish_time":1535046486024},"7.1.0":{"name":"gh-got","version":"7.1.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^8.0.0","is-plain-obj":"^1.1.0"},"devDependencies":{"ava":"*","get-stream":"^3.0.0","nock":"^9.1.0","xo":"*"},"gitHead":"a73bca816c09e7655f5f2496e0c4be4e6d204b09","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@7.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f2b14eef375ce49b66d5f034a1c124f56dc5bcf0","size":2528,"noattachment":false,"key":"/gh-got/-/gh-got-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-7.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got_7.1.0_1535033795660_0.9354473292736687"},"_hasShrinkwrap":false,"publish_time":1535033795900,"_cnpm_publish_time":1535033795900},"7.0.0":{"name":"gh-got","version":"7.0.0","description":"Convenience wrapper for Got to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^8.0.0","is-plain-obj":"^1.1.0"},"devDependencies":{"ava":"*","get-stream":"^3.0.0","nock":"^9.1.0","xo":"*"},"gitHead":"33ad432517a040664ddf4a6e449f151ae0c68aba","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@7.0.0","_shasum":"f6cce302e850327ed2d11c00080c56656f1e2432","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f6cce302e850327ed2d11c00080c56656f1e2432","size":2516,"noattachment":false,"key":"/gh-got/-/gh-got-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-7.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got-7.0.0.tgz_1511359612368_0.19069018051959574"},"directories":{},"publish_time":1511359612430,"_cnpm_publish_time":1511359612430,"_hasShrinkwrap":false},"6.0.0":{"name":"gh-got","version":"6.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^7.0.0","is-plain-obj":"^1.1.0"},"devDependencies":{"ava":"*","get-stream":"^2.0.0","nock":"^8.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"2c5a24e120f7c28ccfd4fd4396346e78390a6ed2","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@6.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d74353004c6ec466647520a10bd46f7299d268d0","size":2528,"noattachment":false,"key":"/gh-got/-/gh-got-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gh-got-6.0.0.tgz_1496758032914_0.9559661238454282"},"directories":{},"publish_time":1496758032991,"_cnpm_publish_time":1496758032991,"_hasShrinkwrap":false},"5.0.0":{"name":"gh-got","version":"5.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^6.2.0","is-plain-obj":"^1.1.0"},"devDependencies":{"ava":"*","get-stream":"^2.0.0","nock":"^8.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"3e25339cbcec0e513fa93bb675af3bf7a4aca3e1","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@5.0.0","_shasum":"ee95be37106fd8748a96f8d1db4baea89e1bfa8a","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ee95be37106fd8748a96f8d1db4baea89e1bfa8a","size":2492,"noattachment":false,"key":"/gh-got/-/gh-got-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gh-got-5.0.0.tgz_1471195500333_0.1467083350289613"},"directories":{},"publish_time":1471195501966,"_cnpm_publish_time":1471195501966,"_hasShrinkwrap":false},"4.0.1":{"name":"gh-got","version":"4.0.1","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^6.2.0"},"devDependencies":{"ava":"*","get-stream":"^2.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"d77848b3c1ea88673c248adc516c1ae5d85e66ea","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@4.0.1","_shasum":"5ff977ab7357f5ff72ff4d8e00821e5c6a524d9b","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5ff977ab7357f5ff72ff4d8e00821e5c6a524d9b","size":2310,"noattachment":false,"key":"/gh-got/-/gh-got-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-4.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gh-got-4.0.1.tgz_1469884344317_0.8340067125391215"},"directories":{},"publish_time":1469884347356,"_cnpm_publish_time":1469884347356,"_hasShrinkwrap":false},"4.0.0":{"name":"gh-got","version":"4.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^6.2.0"},"devDependencies":{"ava":"*","get-stream":"^2.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"66130273a83f949b0509a924460818127ff9223c","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@4.0.0","_shasum":"31bd75a9584e0ec6894f3bf09dbbbb0f3ffdf98e","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"31bd75a9584e0ec6894f3bf09dbbbb0f3ffdf98e","size":2298,"noattachment":false,"key":"/gh-got/-/gh-got-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gh-got-4.0.0.tgz_1460383751021_0.036782013485208154"},"directories":{},"publish_time":1460383751448,"_cnpm_publish_time":1460383751448,"_hasShrinkwrap":false},"3.0.0":{"name":"gh-got","version":"3.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^6.2.0"},"devDependencies":{"ava":"*","get-stream":"^2.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"35b91dc61f3b10f7b39ece4879eb30b560545a7e","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@3.0.0","_shasum":"b0f9d1b1be08a1f862f299b03809b4848c19dfd5","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b0f9d1b1be08a1f862f299b03809b4848c19dfd5","size":2327,"noattachment":false,"key":"/gh-got/-/gh-got-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gh-got-3.0.0.tgz_1459965304010_0.04241147916764021"},"directories":{},"publish_time":1459965304543,"_cnpm_publish_time":1459965304543,"_hasShrinkwrap":false},"2.4.0":{"name":"gh-got","version":"2.4.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^5.2.0","object-assign":"^4.0.1","pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","get-stream":"^1.0.0","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"1b7d79c9a13b607281424c25dde85240566934b5","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@2.4.0","_shasum":"aa51418911ca5e4f92437114cd1209383a4aa019","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aa51418911ca5e4f92437114cd1209383a4aa019","size":2383,"noattachment":false,"key":"/gh-got/-/gh-got-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.4.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1449867006843,"_cnpm_publish_time":1449867006843,"_hasShrinkwrap":false},"2.3.0":{"name":"gh-got","version":"2.3.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^5.0.0","object-assign":"^4.0.1","pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","get-stream":"^1.0.0","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"cc5a154f3738a1ed3c40744c9542f04cbbaadb39","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@2.3.0","_shasum":"dcb2ef1a6c1a6d6526a39f7ddbe9cef479f46260","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dcb2ef1a6c1a6d6526a39f7ddbe9cef479f46260","size":2347,"noattachment":false,"key":"/gh-got/-/gh-got-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1447528399309,"_cnpm_publish_time":1447528399309,"_hasShrinkwrap":false},"2.2.0":{"name":"gh-got","version":"2.2.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^5.0.0","object-assign":"^4.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","get-stream":"^1.0.0","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"ddb6ea8358a85fd4e230f2bf59e4f8627b23ff75","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@2.2.0","_shasum":"b3be4bf496ec3478a8ba284695a33973c8aa9dc7","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b3be4bf496ec3478a8ba284695a33973c8aa9dc7","size":2338,"noattachment":false,"key":"/gh-got/-/gh-got-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1445618332197,"_cnpm_publish_time":1445618332197,"_hasShrinkwrap":false},"2.1.0":{"name":"gh-got","version":"2.1.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^5.0.0","object-assign":"^4.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"64592440ad76f4d8ba3dd11d452f871137df3d44","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@2.1.0","_shasum":"2c3e5fe45aafd0a6763bea61ddd57ff6cce093ae","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2c3e5fe45aafd0a6763bea61ddd57ff6cce093ae","size":2265,"noattachment":false,"key":"/gh-got/-/gh-got-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1445161906359,"_cnpm_publish_time":1445161906359,"_hasShrinkwrap":false},"2.0.1":{"name":"gh-got","version":"2.0.1","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^4.2.0","object-assign":"^4.0.1","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"ff17d006d8717c87190b87fe9f5698decbf9886a","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@2.0.1","_shasum":"a53498aa26646af9b5439e24b8f70a318708d854","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a53498aa26646af9b5439e24b8f70a318708d854","size":2236,"noattachment":false,"key":"/gh-got/-/gh-got-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1442767134037,"_cnpm_publish_time":1442767134037,"_hasShrinkwrap":false},"2.0.0":{"name":"gh-got","version":"2.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^4.1.1","object-assign":"^4.0.1"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"ff0ff1e1c5d30f0c1f17670e8cf9b2350c47ee58","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@2.0.0","_shasum":"e0c19937a8ee48507b4912c4ca6cb2068ddfa90c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e0c19937a8ee48507b4912c4ca6cb2068ddfa90c","size":2182,"noattachment":false,"key":"/gh-got/-/gh-got-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1441614746153,"_cnpm_publish_time":1441614746153,"_hasShrinkwrap":false},"1.1.0":{"name":"gh-got","version":"1.1.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^3.2.0","object-assign":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"e43af6917a3bdfc03f682b7def2fb41320e0fe63","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@1.1.0","_shasum":"51e207af19113e5063337237ceb33284699a4b3b","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"51e207af19113e5063337237ceb33284699a4b3b","size":2222,"noattachment":false,"key":"/gh-got/-/gh-got-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1432067290632,"_cnpm_publish_time":1432067290632,"_hasShrinkwrap":false},"1.0.3":{"name":"gh-got","version":"1.0.3","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^2.7.2","object-assign":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"ac19967f5ad441d6c87ef391a6828b458e02c1b7","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@1.0.3","_shasum":"118e5bf12e51b77915267ad41a74aee49437d63a","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"118e5bf12e51b77915267ad41a74aee49437d63a","size":2215,"noattachment":false,"key":"/gh-got/-/gh-got-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-1.0.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1430818887179,"_cnpm_publish_time":1430818887179,"_hasShrinkwrap":false},"1.0.2":{"name":"gh-got","version":"1.0.2","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/gh-got.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^2.7.2","object-assign":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"a037f46d7ae90fba75e567f24913d4f39b245692","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got#readme","_id":"gh-got@1.0.2","_shasum":"ddf53ec7607e3a49ae56e89105758cb83f7d206e","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"ddf53ec7607e3a49ae56e89105758cb83f7d206e","size":2219,"noattachment":false,"key":"/gh-got/-/gh-got-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-1.0.2.tgz"},"directories":{},"publish_time":1429515699599,"_cnpm_publish_time":1429515699599,"_hasShrinkwrap":false},"1.0.1":{"name":"gh-got","version":"1.0.1","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^2.7.2","object-assign":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"8ddd254b6cdd0251db9b0da150d8a4c60790b429","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@1.0.1","_shasum":"cb3dd600c39f57649ad587b56248246498292976","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"cb3dd600c39f57649ad587b56248246498292976","size":2166,"noattachment":false,"key":"/gh-got/-/gh-got-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-1.0.1.tgz"},"directories":{},"publish_time":1429457707946,"_cnpm_publish_time":1429457707946,"_hasShrinkwrap":false},"1.0.0":{"name":"gh-got","version":"1.0.0","description":"Convenience wrapper for `got` to interact with the GitHub API","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/gh-got"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["got","gh","github","api","request","http","https","get","url","uri","util","utility"],"dependencies":{"got":"^2.7.2","object-assign":"^2.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"819d9152bd002c6c086b4212669e228ecccc419d","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"homepage":"https://github.com/sindresorhus/gh-got","_id":"gh-got@1.0.0","_shasum":"b35d7dfdccb918459c835732c6135d799586cfa5","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"b35d7dfdccb918459c835732c6135d799586cfa5","size":2155,"noattachment":false,"key":"/gh-got/-/gh-got-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gh-got/download/gh-got-1.0.0.tgz"},"directories":{},"publish_time":1429454493281,"_cnpm_publish_time":1429454493281,"_hasShrinkwrap":false}},"readme":"# gh-got\n\n> Convenience wrapper for [Got](https://github.com/sindresorhus/got) to interact with the [GitHub API](https://developer.github.com/v3/)\n\nUnless you're already using Got, you should probably use GitHub's own [@octokit/rest.js](https://github.com/octokit/rest.js) or [@octokit/graphql.js](https://github.com/octokit/graphql.js) packages instead.\n\n## Install\n\n```sh\nnpm install gh-got\n```\n\n## Usage\n\nInstead of:\n\n```js\nimport got from 'got';\n\nconst token = 'foo';\n\nconst {body} = await got('https://api.github.com/users/sindresorhus', {\n\tjson: true,\n\theaders: {\n\t\t'accept': 'application/vnd.github.v3+json',\n\t\t'authorization': `token ${token}`\n\t}\n});\n\nconsole.log(body.login);\n//=> 'sindresorhus'\n```\n\nYou can do:\n\n```js\nimport ghGot from 'gh-got';\n\nconst {body} = await ghGot('users/sindresorhus', {\n\tcontext: {\n\t\ttoken: 'foo'\n\t}\n});\n\nconsole.log(body.login);\n//=> 'sindresorhus'\n```\n\nOr:\n\n```js\nimport ghGot from 'gh-got';\n\nconst {body} = await ghGot('https://api.github.com/users/sindresorhus', {\n\tcontext: {\n\t\ttoken: 'foo'\n\t}\n});\n\nconsole.log(body.login);\n//=> 'sindresorhus'\n```\n\n## API\n\nSame API as [`got`](https://github.com/sindresorhus/got), including options, the stream API, aliases, pagination, etc, but with some additional options below.\n\nErrors are improved by using the custom GitHub error messages. Doesn't apply to the stream API.\n\n### `gh-got` specific options\n\n#### token\n\nType: `string`\n\nGitHub [access token](https://github.com/settings/tokens/new).\n\nCan be set globally with the `GITHUB_TOKEN` environment variable.\n\n#### prefixUrl\n\nType: `string`\\\nDefault: `https://api.github.com/`\n\nTo support [GitHub Enterprise](https://enterprise.github.com).\n\nCan be set globally with the `GITHUB_ENDPOINT` environment variable.\n\n#### body\n\nType: `object`\n\nCan be specified as a plain object and will be serialized as JSON with the appropriate headers set.\n\n## Rate limit\n\nResponses and errors have a `.rateLimit` property with info about the current [rate limit](https://developer.github.com/v3/#rate-limiting). *(This is not yet implemented for the stream API)*\n\n```js\nimport ghGot from 'gh-got';\n\nconst {rateLimit} = await ghGot('users/sindresorhus');\n\nconsole.log(rateLimit);\n//=> {limit: 5000, remaining: 4899, reset: [Date 2018-12-31T20:45:20.000Z]}\n```\n\n## Authorization\n\nAuthorization for GitHub uses the following logic:\n\n1. If `options.headers.authorization` is passed to `gh-got`, then this will be used as first preference.\n2. If `options.token` is provided, then the `authorization` header will be set to `token <options.token>`.\n3. If `options.headers.authorization` and `options.token` are not provided, then the `authorization` header will be set to `token <process.env.GITHUB_TOKEN>`\n\nIn most cases, this means you can simply set `GITHUB_TOKEN`, but it also allows it to be overridden by setting `options.token` or `options.headers.authorization` explicitly. For example, if [authenticating as a GitHub App](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app), you could do the following:\n\n```js\nimport ghGot from 'gh-got';\n\nconst options = {\n\theaders: {\n\t\tauthorization: `Bearer ${jwt}`\n\t}\n};\nconst {body} = await ghGot('app', options);\n\nconsole.log(body.name);\n//=> 'MyApp'\n```\n\n## Pagination\n\nSee the [Got docs](https://github.com/sindresorhus/got/blob/main/documentation/4-pagination.md).\n","_attachments":{},"homepage":"https://github.com/sindresorhus/gh-got#readme","bugs":{"url":"https://github.com/sindresorhus/gh-got/issues"},"license":"MIT"}