{"_id":"githubauthquerystring","_rev":"32-3b8c1776156f7c976092dbc51e111f97","name":"githubauthquerystring","dist-tags":{"latest":"4.0.0","next":"4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681"},"versions":{"0.0.1":{"name":"githubauthquerystring","version":"0.0.1","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","thanksapp","boostlab","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=4"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","engines":{"node":true,"browsers":false},"tags":["javascript","esnext","require"]}],"main":"source/index.js","dependencies":{},"devDependencies":{"assert-helpers":"^4.5.1","eslint":"^5.9.0","joe":"^2.0.2","joe-reporter-console":"^2.0.2","jsdoc":"^3.5.5","minami":"^1.2.3","projectz":"^1.5.0","surge":"^0.20.1","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix ./source/**","test":"node --harmony ./source/test.js --joe-reporter=console"},"_id":"githubauthquerystring@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"integrity":"sha512-4HDSzRKMj8FsANirm1NqSBmOA7Xcbk1cWOTrzCmAlAifhV8cQCvKTuf7wIPaTG5BkU1Fx3A8nkCE4Aa3MhmIRA==","shasum":"c870d3f92d190cd761412c3b6c44b91e944d5ff7","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-0.0.1.tgz","fileCount":5,"unpackedSize":6194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7UrBCRA9TVsSAnZWagAAxHsP/0LCFCX7MSvmLqidvzeB\nY1wUWeJ0LP52UQRdf8j+cDkicCyBz4XX+NG5MCPmmvXLJk2WQPG5eUKWOOmf\nY5X5QNdlqPv2jQ9IS+1H548p5+L+SIHuI9U7qha51ayZ0HJthAaoneflqUEP\nnibWlwF8+MTp47fdLUcd2NLIW2zUuLgZS2YnTSVXtsUCZsHX9r5+0USE9C0N\nLG/hYMFMug6CLwAp3GFIU40lCKe5XiLGdbEAYeqdRVpjR9yPOa4POGtUuK5L\ns2T33i1lZbUjHdxslJ+rQyfW949cv1si2tQqXy0aSn7eaE+Z5AnXowTnps9v\nCYlT6tnQ+a6AeXtWjRPHPwMCIQ8odKfXteTZ3Ifx6QdLrszJauc/H7T4TiDp\nUWY7Ij1p3nQCeZFNfLLJENzzXTiVt6V0GePVwaaD/2EcvkVdl3t4wS5YhH33\n45c58PAFY+hB3aMJkjlupmCTMd8h6sCWtAy4Nz0+ncErNVFqPfBJNLZkOa1f\ngpNAsb+/rApbSsNrvEwd06R6+e/DkQuKNtZo0+fBM4piy8Ic4pr4+miHUy7L\nH+XOtHuae1AJKcxAvdJPBsnxwjiKVF6BhvM2kCjpvXdBdtDjPHTjw7fpxEWn\nk27mafDwt6Uo1yjfetYI352MsJBlznOUJOzCocL+4sqdeQk9X1gVUgFt/8Ep\n4VgK\r\n=NL/d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW7VcDrvc5b47cRWXZ/Md+V1UkzgozrxcQAvyq812AyAIgD1tEeAM4aXI0npZLTTwE6379txDKLynV0j3BRF8BdF0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_0.0.1_1542277824964_0.6225119141181783"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.0.0":{"name":"githubauthquerystring","version":"1.0.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","thanksapp","boostlab","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=4"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","engines":{"node":true,"browsers":false},"tags":["javascript","esnext","require"]}],"main":"source/index.js","dependencies":{},"devDependencies":{"assert-helpers":"^4.5.1","eslint":"^5.9.0","joe":"^2.0.2","joe-reporter-console":"^2.0.2","jsdoc":"^3.5.5","minami":"^1.2.3","projectz":"^1.5.1","surge":"^0.20.1","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix ./source/**","test":"node --harmony ./source/test.js --joe-reporter=console"},"gitHead":"a6cdbdef62875a7e858e8113b262e840ceba6577","_id":"githubauthquerystring@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"bevryme","email":"us@bevry.me"},"dist":{"integrity":"sha512-rbYERtA/5z7lYfO/BgW+y8TbdUKSucM7OeSSc6xztv0Tj99DNsDcW5KngivOtp3KYOO/U4UbmVvvXyLjGWmlVg==","shasum":"d067e9105a1a0f51ab1993756641db4ac4a33971","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.0.0.tgz","fileCount":5,"unpackedSize":17388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7VMWCRA9TVsSAnZWagAAC4cP/1IWb8Yv76sbsEy6R2Pm\nKkugQR9SPIJN5G4IKRFH+Z3+sDHACgdFl2PNYqhvujT3/xKCrpvBHxWS+I1Z\nbYctG/5OEGXW9wjqz5Cjd0b2YqczLDcVR9ooO1u7kkdQws5qEy9UaT5Gb/bM\nLsgStvtjdRymrOlhRz5RgK8FwUMtc/n8C/l3m2mcm5vioF8zyl3K1IhBCiLM\nhYseRinn8bUWHoX+7yhzSNXeziV+ebL8MxklUNZRRNpl6vbuMMMhJO6qnYTC\nx9BcctbHR1d/kJk570XAkzqADe0hK9Tjm87c8jEP2+gHZhC8x0JHQkIsoOMh\nTX50cY5nGk9lSNxH9LgobynGyS9DO5O4ljWbKsYtnnuxmXXYDt4K9/uy9mid\nkphHqVrDnxaq6rzeMFbVNwqPD92Hu7qpEs8Yul1Nfk7yJpMJNuqJiL4hy3x+\nsbKrEf1vbADsnN3iB0pniPSwIY7qF74+F9vCB2Zas8aGuHGPsHkmHNJQmtDW\n9By21nOzmrfMIO3TO9dORA0xg4RVH8w6tI/POqiibQWCJ2Wm8cCCzyhMW7bF\ncQRkLHAMeIz3kQnWMLwLf2DjhvU8pGMmtJds+j0adXQGvDfxyvz8bMCrd9wW\nBV3oiYJSuhBxwNYqfj34BLOuVCNXNh5z/N5P4uenyNHDxoapag4xIYOq9EUT\n1tVH\r\n=M7Il\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUH2rsRyFLycPVMsX99NOdQGUH6Q+NVrHkLS+jeymXhwIgWPW3vhAtNzhajaWfZmdhJB5vS6RhVC6HQOCpJEqcfbo="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.0.0_1542279957863_0.46677031671286007"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.0.1":{"name":"githubauthquerystring","version":"1.0.1","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","thanksapp","boostlab","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","engines":{"node":true,"browsers":false},"tags":["javascript","esnext","require"]}],"main":"source/index.js","dependencies":{},"devDependencies":{"assert-helpers":"^4.5.1","eslint":"^5.9.0","joe":"^2.0.2","joe-reporter-console":"^2.0.2","jsdoc":"^3.5.5","minami":"^1.2.3","projectz":"^1.5.1","surge":"^0.20.1","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix ./source/**","test":"node --harmony ./source/test.js --joe-reporter=console"},"gitHead":"b69deaf14535627e8ba09e93cdf7ed357b6e1c3f","_id":"githubauthquerystring@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"bevryme","email":"us@bevry.me"},"dist":{"integrity":"sha512-jDb6xpXC0g2aH5sUVFxhzEOSdMxLed9Fz+8dgZDejPfLcvHdQMVKx9YDfuK4z9utzrkVoHmamepzImOV45Hk5g==","shasum":"b970a69664bf9f66da9f664240bdf1d6ee633090","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.0.1.tgz","fileCount":5,"unpackedSize":17474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7VQiCRA9TVsSAnZWagAAicAQAJ8WU54+cjM7XgYnbbBp\nXXrYOtS4uJbeZ3EOxL6Ym2lqaLKG9z03mIDm4VJNHz6nu4bdWMdBJj/IR6tq\n51ejyLo4lw7mdIVH+jxLeJCSKLy6ddLNtPUrDj6UCI8O45oCnGy48u9H2M3s\n04HmKKiV/kxfJfrryLc5r/5+FyYeSGeSYc7CwO6oWntLZY4ZC5xsAyIco101\n0x1AO31XdQLinnuLa2F/cX3FYodbHFD3Ktc5aJ5vwVc6W42PM9L7akkJo0n/\nyVn/QXvt3zOeF71inbuSLODqk1vHj95Ev6yZdPgxcfDw9LVA98mazJS+WIIy\nxQG1EiZm2DlfxXx02NU/xhi0TCvxa8d3ylMlOTCk1XHBMKbk0e7vD47UkKdO\nrw48RQ743HiIAXZeHQXFAhOOYe5VXCvqRasoVloqDrOKUPcb4E1wRkweM7vh\n+7LoNgXN+7aa3lJsDHnBDZ7K5JywHakq/oOeJ6/gVCitJy348MAay70FMPpC\nyChKh2BJld+e8pDHVOE/d0bRJ80krqSKirBlVXzEJWcFEr8yXfKKNMkccsYD\nfoldgBWaq1uqU2uOsA0zQWcAT+J12hq4oQT87D7MQF2c5Aal3KhVazJWXwep\nmgsBwR/kLYipT3xC0B/FdsH2XNR4yuJx/tMMhLFxpXQrvvfSGjWEbPyyg2SN\nql6D\r\n=BqLn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwkFmCuD4jXcmW15p2xQqeCU2iPcz16YTDRsidaoR5owIhAK3Onmsch0Jd3cvsE8bb8JbR6kO2qOEoPoEzXDcR3cRn"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.0.1_1542280226091_0.5844043376690593"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.0.2":{"name":"githubauthquerystring","version":"1.0.2","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","thanksapp","boostlab","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","engines":{"node":true,"browsers":false},"tags":["javascript","esnext","require"]}],"main":"source/index.js","dependencies":{},"devDependencies":{"assert-helpers":"^4.5.1","eslint":"^5.9.0","joe":"^2.0.2","joe-reporter-console":"^2.0.2","jsdoc":"^3.5.5","minami":"^1.2.3","projectz":"^1.5.1","surge":"^0.20.1","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:npm","our:setup:npm":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix ./source/**","test":"node --harmony ./source/test.js --joe-reporter=console"},"gitHead":"e1634dfafe0f2b7c59e215a450fae91cb749787a","_id":"githubauthquerystring@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"bevryme","email":"us@bevry.me"},"dist":{"integrity":"sha512-yT9Toj5fTbKui65bprMgN7WvaQGoVSTvbKQrDgvrNKW+CklV1GNruhH504cC6SHOlhDnl7kauo25fX6hQz+2fw==","shasum":"a0aff545d021025fcb1693aedffb597b24600931","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.0.2.tgz","fileCount":5,"unpackedSize":17534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7WabCRA9TVsSAnZWagAAJBwP/iWxwEKxmzXRdX5XGwxD\n2+OIfsqp5vXlZhnrmUbxcvXlPc+mxl/JGtSINy14YTNsK0y1YxFR9PBMLQ80\nU1usmRts4IrsfNDJE7oejX+UajKkOD/VppiemgfkawjDCa7yrkQ2C8LSDLh/\nAi3tlNGHIljMzQNI+97OtvVMyQTTnpmE4alKQwvOPQArYWb2/MDNmqCLLacT\nx64gvfy4145dY9a7pQXAPDkSOH8t1DSCt8RptxsYgph2W6lCZFYRVbJiqBgr\neUWrSGLcm+ynr/Cz1CK1cjT/FpdZ6upj9w2FjLpMW9h5mBteHPZaxAzaYzwk\nPLLE8lBFUeoHJLw7Pn/sTqPb2dIp5ExglNf6qb0smFVOrSX4XckOuN9R5qg3\nu8dRBb4NouqbjSHEb7Nyfr7uVrmyRVzpDhCPU5mDp2v1HslcsA3uUaBUQCWv\nJ+aDnbyL4U6jbcuihMAjcQzYw+koHt8z38nAlGwaurASmcfFtr7/cgBLaCHH\nPmiAOox8h1OgVzHu31IyDkGpcJVwTlotsu7sxLqDKjQ+P0C3MqkQqAEcWbFb\n/R7cBSqL5b5dpf5SuAMZQg+kINp0JRs+mwdwSRja9kfW42MH2rVPfPgV9RBF\nQ6EcmMHM+N6AW4gn2d/AdwT0mtPbIwQeTD5RI52OSg4ZrvhtYF/Vvu1+3cQn\nENpe\r\n=jEBJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvSr8o/ToRV+zDh7A+AWSfiUHL7T5xCb4iqffQO2xkSAiBFwJo2/jc732bxT7cAtcv8enUOz1+6Cgd3lk3BFRpOzQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.0.2_1542284954905_0.47464565834516725"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658":{"name":"githubauthquerystring","version":"1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^4.9.7","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.1.0","minami":"^1.2.3","prettier":"^1.18.2","projectz":"^1.7.5","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"gitHead":"7245ff499373378ea403edadf5cb5872e1a92658","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.org/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v6 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-sTpvFfeKz45Lt96He29uBQfmZ5KrKoCR2vJK5xUKLdH9n1TkC4cdPMqkoLOppjd3CjSohGhxq50EiwXaSpq86g==","shasum":"747f1c7f118832602c167d716424452cd76ab563","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658.tgz","fileCount":6,"unpackedSize":18224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxSzKCRA9TVsSAnZWagAACj8QAJtu43hK6drYiiKbCXi2\nwQEwSBl/fuBW19yzYBQaQIzXewq7GhNyrHYQz+dNrTfAcrwE6bb1WrDGIs/J\n0sMjpzHVz0UN8FU85DxSvbPlankyI48P6Kg2EA+DzxWXtczeMR9OCwd1HH3S\nGR7GR3IErs98I1AAuruRRl2YlMUOYQCVG6CtCqlJKVGwXrSb2Ny92imsLnZi\n8EW6smUBVvjWFtJs5V+woikn54+o+yqpS1u6bOp1QOH6FYtCu1SjmCuMuu8y\nztbFeiYiAaz+Jw7k9/XE6lZRMBAuLR/36JhQcBW+EF82Eb40CZjI1x85mWQY\n155vofgYg5mnmZ3AogVwsvlgi4qtfaUd1E4BeS5ZMt7SVwUedZ76aLWtwhgY\n1qkCpUCHVB7zLtz8h6v/jBMC8zFTRl7NMHTVodOfGaoex1Qw/sKH7nYdgpOr\nRe6vL1SkzQwRlENklN86Z3Y7sc5QdFPIgzwK7lInHxm3F7xx7iuObNlztPuz\nEUOYZDRdRAc8QllcS1jLzaToUoZUNarrjBbnrbRfWJ9ME3RW+DT5uaZKMzgt\nezx8b5m0w0erv6BiIQImtD4Lk1OVVy4mN3vQEC0J3mkMq2qA4nSpCPZcNLvh\nNNfbRNRR4Uj2KHJ7++kGrwKg+TSn78TmLtKwOpMH25OwEPxzGtXXg7CBQhK6\nRA23\r\n=VywY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKVCZvrloPGL4vDsUd0rQbuHRNhVjQRQTQhsHXlfJbRAiEA1uZjUyMRWFwT9xi+ZNqgw/qhnXizipXTamoRcYW5rLs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658_1573203145854_0.8307392321591063"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.1.0":{"name":"githubauthquerystring","version":"1.1.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^4.9.7","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.1.0","minami":"^1.2.3","prettier":"^1.18.2","projectz":"^1.7.5","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"gitHead":"7245ff499373378ea403edadf5cb5872e1a92658","_id":"githubauthquerystring@1.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-2Au8ypks/HC0rXNrJKcdlgESv0W5DBOk3Fq7lg+Ob1ld+VWzQrK9y5NWfJs4CPsE4e6kolp55+6xChnEiHznCg==","shasum":"1a83499db9d97a5609a20d0f601c67d82e87a481","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.1.0.tgz","fileCount":6,"unpackedSize":18167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxS0dCRA9TVsSAnZWagAAq1kP/1HmkZSZjs5QpTRH323a\nnLNi8NhtQUBOBEc8kx+2DQ5LpbVDlXpNiiVZLlE4OGeoT0jri0ibXYbXr/Ko\nfogc28HWuLOObQeZN75Y2khJjAoGnKn8x/Qj4qqbl9w6J3gR6CDEaQlmhozy\nWvWDjUkEjc2M6bQfmv5tNCLJoPaJqDH4icoDhJ9GHt4EN9ea03f6DnnGNeE4\nItZ8SkUz3eR8idzt7R4MLWDyqqq0SQrX2XxfPp8BadHRwIUUWaiUebkovIHn\ncY+zoWygUIXuaH4v2q3AJUIO78e4w6tOGdxFHQP0TPQJI0hsR68KyZdnR/II\nJOk4jbint3Hb2H9POzLvnuKt4o8zyIpN1mAxcMf1KfAcq/AvYda1c0Kynk7O\n6own6sTKUf1SgaY8It2s+0THvGfk9jmjMlAppc7yast2Q2iX9TZR9IADrsje\nRh2XuDkYJRF04ckvdSF7IJdCf34HP8tM9qEZx0qMkrajf1GRSHX3NFWlzZX+\nLipndrFUc5tmRK2vSktDKtuhREBgCMu/J0CNzWpCYfp5ilIKmw9D+w5L2V5Y\nWKBVbBLYR2PxmdHWjZqrF48P4LacdvbOvm7FGgN0eu38l39Da3uHH/+qhaxM\nyGvCfkVPGYbiWeIDR78y9iNCaMpReegBx8q5rXq2egdakdiN4uIBuOb7C4am\n5qlB\r\n=STFY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4Gzi1rkIgkGqJTgBI6NU9+cLFF2YdqikoUjXSPxBqQAiEA0RJNHTpgy9a+LUYevkHswbnHnxxKBy7ASNRwWxAfK+k="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.1.0_1573203229476_0.38057101364305823"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac":{"name":"githubauthquerystring","version":"1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"4.10.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"4f006ab48ef81ce846d1737b2aeb77a582c9d9ac","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v6 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-F3ENgP8caF82irCAjBnrkaypRB4JY2H8LbgI/yBqUAf5zSRZWPUgqROxxcOCJTBA6+Q1nu55DzDr6jmZKxwW2w==","shasum":"e846629dca63a084ea6a9a9bb0162f8910b41b63","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac.tgz","fileCount":7,"unpackedSize":18609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy7D0CRA9TVsSAnZWagAAerMQAKSLg3y1eKOykGrya5Sp\nIQaSY/cuy/Y/LvO0+ZPtc2z4Zia1AIcZMMD293HtoeD/a8AmD0xEwS3bX1at\nAvC51485BV8+SXlfxraluXpHJXbOuyKf+I1iofzslJ60s5DH5mB4sFRDq6Uc\nf7BZKJ2nIFENgvLPp++PMJWxJYEMZsuntN0hTdxNMFE3EfwOBE+MVnryzj82\nMKcTpp0hK66pRokR9pZH7KFw5DLAv74MEUGit8MRQ93NzCmDXWStCu6GOMag\nm+p7X31XgHb0zTOjiBVyRgUAZULTxf+WIi/qE4l/uqVNZ6FPqjIe249S/LNs\nfv8HxAaKWS7bw7pPE1wmViCESRy50D+0b+iKM1t/X/AV+UPJ7NobvdmN4neE\nQp/ixvElEvay1m1H/0I8B6z8gnQO/uJ/UrUGCfnJMxFaf1fzU/+65uwE/K2j\nBo1IiKnondKD2nZZIJK0jJeGqrasKf2RnVb7UjLFkAmGO3zUVNERxAitq7x2\nsZNHOq2oFH7At+3XKfp5AFlSxTuOlgkkABD0Km2XyReW308iIPYFDVp8i2Zm\nicqfZkqFZDERPtquEoCdnHyqhgOUkenTmezucnuO6rduALO6EaffeA7PSwCW\nO1Uu+M82cK2lrb+1NHIiO4WtiFlsa3pV3qw9kZgzVICBjr2nFIDr08KJBCvW\na/6o\r\n=b7TI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJNt9zrfwxRZsfACOyYVZVDf3BRbWUDDLRGS0R2EX5AAiBcqsv9HPsIFaskJngT5lGB1jjaWizP3K23YAO2WV4tdQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac_1573630196379_0.20736284126680182"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.2.0":{"name":"githubauthquerystring","version":"1.2.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"4.10.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"4f006ab48ef81ce846d1737b2aeb77a582c9d9ac","_id":"githubauthquerystring@1.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-hJWGLjZXsGa5YNo3xYJKcKbKrTRI3H60kM22LEWzMWje6wlUuKPDzBIHEvhs2S/e1lr3OyeZe+W4WhL0zyHqvQ==","shasum":"1bfb798770337bdab5414287462ad3b40a40ccf6","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.2.0.tgz","fileCount":7,"unpackedSize":18552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy7F/CRA9TVsSAnZWagAAY8MP/398bS7a2Fp0Us5d+hUr\nFvIUFiVj24Kww3qAqkTMlNCwEy+Cr9MHL/styoeH3aTo82/dCSHjR1p4WZgX\nnoA6I9riwAJcQPB5JGnF0YNV/uXO57AIBJZ3siorm68qo42DYdI7M4zR2KGX\ncTYF9LUF3khlrCiQm8UOE29CTUKC4ZQaT9Qqgd6dLe0oycu60ZO/m9Mg5EhL\nfeKBVTvDZHqRkT5oTffs1l1XZs48/cz6yiXGEDW/8OWBTgeDVrlkUtwyxpag\nMopA8JzFSXzWXlSwhT6bsjIC3Mof52rpN9oH2NJ7729s4qiFde1dWLj8ORlu\neIQ5jqdyn6edYK2XPzQuFdOnEwvxMgQ1zRLT/ulD1f+gop7JGlbXnW7rs+e1\n3/TwU5Pxmo+9XNU1CFHDRLBnrsMVtTtZSMDnHA6aUnskEGkcfKrljxFeeZz2\ncnZZtFCHnvgPJDEZQN35Vl8+3TR0O2fjoRylQW6RWJyD72gvvFaa8hPe8Bdr\n1Nrf4gDHFKsXLw5tkzqm7kQugRWzIbsXvxULGgavwxiHD10TSPPQB/51st88\nZCx9cZMRsryYzxiUjTy74eBgLX4hHdIx1LSxfoxF+ioLFo+n6ZJz5C41poiO\n5uZv7G1u5htONyX2CRFJnkapLVHRhcxS+d5JMh4unWzLrGpd2Ew/in/+R54r\nESTE\r\n=o5KH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5aUu6yCTD7i4AewA7eE+ocq1u9zPe7kJeLV0radRo8AiA3kII/V78njGFlSyfgruTK1YcbYyaZl695A7pL+sC6ig=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.2.0_1573630335249_0.17026041353047217"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e":{"name":"githubauthquerystring","version":"1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"5.2.1","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"824e42e2da3160fbc089821df1cb9cdb35c5f18e","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v6 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-UfCFoQiyTCBweP6ISUv7zbdAfOimEOQkA0Bpczsltg4xcRibn81ex9aKk7O2efW/QH5ze68W+KLh/fSjhpMWVw==","shasum":"d31a6511eac5e860e9b288ada4e9a5cfcd47f502","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e.tgz","fileCount":7,"unpackedSize":19002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy729CRA9TVsSAnZWagAAfNQP/ROckApoi40lg7rv5oYI\nh5KQaAUFezv4Wugb1r8SajcPkKJNjzTaB6FYZn/dsIWEwTMn5flgTELus1Um\ntze+VjFWDXOKs4au1EmF1qPXUCq/BSbent0y5Zo8wTGhLeFXSxaU2V2p9XPI\n6lE5fQbGhxKH0GwZnaFz2nLYCJUHSVfi7jSvJkLAbu0avyf1IGUvKHmAXpu5\n+uh6X2XQvpyXp+jwAJIWzCrb02TYerPkrvGaVHQO55HZ+YPRQ4dFAAUhrZCw\nfQwV9TRFknbl80CYZOFSGElAQjgZpig29SFHe2jb2so0ES3GFUVLxIhGoZv1\n+j584pUDJfm6ozJx7OmK+isVDKiGCfx2s0A/WsPJHp5VwMoPcJR/ukkASDAK\nIgsVkARuCWFNPENjdQN5FUwPrw0/6MGdAiVhU7oOg0enrw/trJsM5mJQF0ln\nz2nrkZ+WZAggBoqWteYnImyM+e698p37rQ87U/ieHF5vY/5T4cV4YjPGs3fa\nfGF2WjuD/EI6PIwpSl3nTukoNsjkGYdOoHaIRqKL0vYwo191ZluEwUjT+uXB\nBqvdRQHoL5hQvQdFslBKBhgm168u8GlTEhWJBAVCXGSve9xsuix5ixZZxOmf\nV+Ndzt3mnNkv+mSkuwZfh/Gh8U23qCHW4oC7DBfesGPA/JOHGgavhJUpdv2m\njDm1\r\n=Y4h2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8RnEUbeS0kwZwHSkMoCMr7QZqv5wfPENW9b+YVHfrwAIhAJTquHy/JvwL5a4KpHW6NRDG47FBYNIUJAqhoQOiJK9L"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e_1573633469253_0.17010241450580366"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e":{"name":"githubauthquerystring","version":"1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"5.3.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"c4f90c80d6b6a708d6b16e33dcc32f469c6da00e","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v6 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-DB9MU6DiRVEfW+UyGnOAFNCqSlG9uQTxZNepBWBSmhjAGQquaHYaJ2HMrQbu6EjXaW7jNhGTTtso0exzKuvelA==","shasum":"682e9641170f2652b0aca4573d2be0b389f8610a","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e.tgz","fileCount":7,"unpackedSize":19002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzI3tCRA9TVsSAnZWagAAMswP/R/DNnhKc4Ep+JJyX1zE\nwLGLbcaCl1uEoqOgUoNGCS2ZtHtQwvQXm2baIV8XJcY5OfI5j5SaGLsh4lW8\nSn5kJbmQFDUhLUSmE2bhLdWXq1lTwSCLzRPbw3EsWS/fOzqeTOJSyJtmc3v0\nTWmuNMCXMHdaxhyuMPphBh1iAxLQ8JY7oC9XK3p/bcHjKSJVR5IhE9afUT9i\n1FTS+uK8qFK97rMjSIoU1e4m3HgOlu2OpfxK9edXLWr2/CJCjHEwZEZ60Ykr\nt6+V8ShWEN2WfBBG7LWyGm7SOZHq4Q9OnDQG9FXEJfRqsM8UhKSEKBo/S2/B\nzbwKZHOTy6ve7Xfz9K4iNdMnj6sc/2Kv8EbexhIIOtz+ZD/KF2NpkODCaXxv\nGba/KdVbwP03pV7GB2VDz25sMp34yhKEJn6Fh7mmyB9OA/9DUXt73oXH02jN\njjF+29ZruRjnLtrIy4dM+ZlN8e99RqVqB6mXnR32mJXFWfU/TvUwCmtj9pSd\nf2vi3FOcJ6aTpcc9xCWUx+twztGZ0sCQe02BBm4FhIF/JKtdUTgfArJtWXt2\neRvjMSQupiPRFK78m/KVrWIK2I5lDWvt9OjgTwbJ4waMkvz/9Ed2k5iAyZqo\n/mtrgTOera30Tn+Pz1AmzrKu5WoJNQ+gkZmmosbl6ra/nSmLWCkuVMcgTze8\noc8e\r\n=89xg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkMOjK5wHVatvpWxCX0K4RfKZEfpUvnAQO8gg3Wq8xiAiBrK9L3/vAjFf4NqMmqoS02g3WgRrn1eWxA40llH2ESrA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e_1573686764590_0.32144392481803763"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303":{"name":"githubauthquerystring","version":"1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=6"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"source/index.js","devDependencies":{"assert-helpers":"5.3.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"9297691ce9d876bf0111e1f2bc6a775383071303","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v6 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-sK579AnLyYCoohwSC0R7FDVK4Fep/KKYA8LFc1Ygz8uWpOsVrhlz3lDKz0ugfnq698xF84blA21BITZIzECuRw==","shasum":"dee3906101aad2445df7f2170cf79b7bcb89aeec","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303.tgz","fileCount":7,"unpackedSize":19002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzWN4CRA9TVsSAnZWagAADQIP/0zNCEr8aRmabhVa6Sxd\n/BXtWENi2YyZW9/MhVzKgZnG81QD252VZeD9MBSSkngRTfow6a/eS/JsbES7\nUxyJUm/VpP0gBr5HCx2EKZFcn080HnUchCeNHb2NOCZ383lx788sxphgVpjO\nnp/9E9JzhbxY6LpvE4JQ2KDxDU3v/rXn2/21JpEc8NM1b7dLybjpn981fhrI\nF7obF+wfc6wCvUk5TJ8eIgw5AVlOA0z9XKJ1p5fMHgJ7ZoUXyM9pwi1U0B5T\n2XtQAIijz07VF8cubVPoeM47DJhC1jOwQsDGfw+HXRFWgGP1iDo+s9hCtwiG\nspS1eBQvnGWqTZihXpPtshaf/EBw2vhWUYI+0gLE99Vn+PxhmQKoLdrsggwr\nZLjY06WfaqbsHjpxMCOXQHiZP4RW04WIeeyIIE09NVI/1ixXxJU7zO+6Eb0i\nsy9hy2GPV9iZ3V3e43+Q/XMXS3uOGESLBpGZ0hx1fiWz5AqtbiQG+wbH1hkQ\nSu2IhRzQmJFlZtH7YCDYkG+2l11bYA5OkuD8lrzU6ZSbShp410fyZImlVd/Q\n2UuxJqWoUOAWzFWx3TE7ZdzlWiZZKVqoO10plaNedw9dx46RiTuvRZWn0HNb\n8hA+lRul198ZN1RgNXtfeDSNGOXnIK3TejM7Z2Jr8cTv2eRKtacRKXdYYwYY\nZi/X\r\n=nA6+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeMC0UGnT0YeAbdYsaBKm3qssrQq8VLgJfDsgjagjKpwIgBdltX0XpBekkX+iQ1NFeJaVWPeK7xmfsVO89h7CUFeA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303_1573741432206_0.5634062901173698"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568":{"name":"githubauthquerystring","version":"2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"5.4.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"4.0.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"96bc1c4da071c55a790ee37c2db2bfe81c8ef568","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-UxH3UOWvbyJPXWED1e0m05cw3mnfMwxSqC/SAXoPsSTPf5ZFUbykRY6+NI1zWTu3ogX7rn084YVQ4cJyV/LXBA==","shasum":"32d914bbfbe0fbdb89142c3abc46ba93a9694eac","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568.tgz","fileCount":7,"unpackedSize":19280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0h5NCRA9TVsSAnZWagAA4hoP/Rhy5Crhy+3fqAQd8l9j\n3NY9kTd3Z2D1zsNDeCjjYdxr5nEqVRoikINOq5nswIA8T6WHCP4/LQrQWchN\n6k78yL9SeGwbMk7di/W90Ea9Liag1ACGhHRLLayd3TugKoReDS1sh7oWq/Rq\n5xSgnH0umn8MmiPuSf90XT/gy5j1L86dCNq4ZMgRx7+WtHeLJr2ipDGLK/os\nWFVcW9By2iyJmGxSmPSUJXj0TZ+cQ4ew7RVV02+RnMO8h+BkaVDRdnlM8MUs\nqg8rYXsPCH0ZOhAUJl5T0HpSh+xN21xUCKg5SkhHsIlsIjmv63I5aiJ8ce+3\now9p5YzfCKgrPNuyKtfQE9/EIIcel34eelBzEqfYPA+Dn1vxZykL4w5dcxD0\nU2R3EaRUymPL5QzhpTvHPVyj2ESCRzGFgitOETUXP6LvsbUB2i8v09UAxU62\nDgX4+BcgBjHeZJJjtW8tTf3+/v9CehJYnRuNjlxvg/D+bF8X+qBvAqR9WcuP\nczvoz9RRccojuv4+O5ZtwsX6aJA3hXMjqwQbdH0H/hEbmunpVfry7PRF7IaN\nVfo2UArjxKvlDZiBxZTxFJYF1Bl3fMq3vecqZqTmbCgmNgBxZVZciy/ECkf1\nfQYKxcTzGV3/7rDwwHcuIJdI/6sSsXhJFeS5f3NYMSDHMGugTjm+AndpmQ1a\nAR2f\r\n=zIsb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyOXGaVM+9WLtJGlcJnYxnpDt+MI1VlZVKrl36W3jVugIgcD8XUz0wtiyy2vfhFD4QHYEosvdCF33hhRpQijskCKo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568_1574051404783_0.25428339476256134"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.0.0":{"name":"githubauthquerystring","version":"2.0.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"5.4.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"4.0.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"96bc1c4da071c55a790ee37c2db2bfe81c8ef568","_id":"githubauthquerystring@2.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-e8LGa0+8CareBe2k6Jfqf/nhxcyKnV5qc+VBq/ZHRTCmp3zxPv0YdWfG7DzMKOfBkdI2cC2kMMPxg7Re72If3Q==","shasum":"a1cdb2f2d492d4e0cf3e568c6742b9eb16de9f21","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.0.0.tgz","fileCount":7,"unpackedSize":19223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0h6KCRA9TVsSAnZWagAAPEgP/2CskyWxpOnj5rgg4Vvm\n2O9A50zrRh0oPxGOOmEVOH/JSLtGFB/1Z9xjOzaMXsCY5KisW5YYdAwdhz+0\nXX8WlrXCFk98wwT8xt4rwD2rSRtAHeBN7ZI0iCzBI3Wsun+f8TTOAVzlEPtL\noyU8w6q8oUIQeHmlCBTKf1AvybUU77OcqVyRoEt2XbvdCVtpdvWFpu3RCx1l\nyPry3D5psrtZLNHjaYAQ9AefoxtJfrzQPtuYlgp5dLy8UUYs+cSdRwpTGpyZ\ng8vzYvLZFgCRpRmfp/eig1ffuH339dvsqiT+hSAKtDB8o+vSGK8Y2LGEolFG\n5RFNTNDdIMKhW+9HIGGbP89E9t/9ALB6sBbPjWzfCGl1VjLY3LMWvT8VhFnV\nCUJ4fT+WDTL8yXig5Fh3RLYWaP8byAuBUQ5p4Dn3qwRVgk6Y+Hzr6xXRf5KO\nLObQKnlvbzHUEhWmgn5nrwAWaAucBAWT6m88B7LWO15EtJqktAS44CojhKUU\n8OAz9DygaK8c60JFXP3sCDg2jIOusThPwFwymvWsqeWFjcCHgiqIPol01iti\nUVXv4yUJBLLfpTS/j5IczOuctBoSK+JtEe46mOyuUbuQeRdCnFh+lFwzi/lZ\ntTS8ezo+mzx9a39gy2QMjWpX0EVTSTl/ege8ZOEuxN5ITjHZyVNVrTBMPLY3\nSjir\r\n=3zWv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ6nGQBFsFVKVNTu+hXLXszthI1ovtjVKNyJkkOiyhCwIhAKLjwfAMr1EE51OREqDsBs0Rm0ulB2oA75LjIor/s3qN"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.0.0_1574051465894_0.3023149684236399"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c":{"name":"githubauthquerystring","version":"2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^5.6.0","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.1.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.12.0","surge":"^0.21.3","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6518e493ed331c2ccd3820b4684a6f3661ed5a6c","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-cQKMHzcH75qulgYq0dvzLy00zF8JcgXjqG7jeW7rk/v21gUtIJG5+FaryGSDqmdnHhfMbBbIijtwKyGWFcWdlA==","shasum":"55952e34d1a15eada3039852984f07e274d60d29","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c.tgz","fileCount":7,"unpackedSize":19484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4t7WCRA9TVsSAnZWagAAKIcQAIYyeyM8X/svcvt+cr4x\nnZ5wURDk6flrnGivBQAjO2kfjFs2QQO+cLnba/HY/n8DrNBY65F81QvSaaJN\ncVx99Lyd/Q3x6RM8dggOBSYTPRPBzWtsCVRnkojJJiMfgYHXC1g9M/IVSBhg\nRqlpOXpZgFugNy/H+2Y9pKBb66kT3JkCMKghpbpSDHBeDz27cyjaIc+oL2Gr\nrf4DmnbOFv90XhLjrR3/FiO+tdQBKUtL8TOZA8pyFZT7gEWCcfQ/hDCDBjRu\nIfEXVWNf/J8PeE0QTS3q5rxMvxpH5LwkED4qIdnc++mSFP01+NmoYAEXkFzr\nqafC+JL/unq9BdHx1PK3j4xsV6Alph/H/zS7zvXCXyIW+MdH8AvocpZcFg1G\n72iPeAzV7cP6wcyWBdRiT9qUvWpTUmjh9ScnkAq2s9OBA1xPx33OCt3Dhe9l\n9BevfYIRQSqjQ8et31wKdvG/gGVg8ayBQcWIEw2bdwNicoRbI/YtwIkUYPXm\nR7dgK5a/Dl0KOdDEPs4lNfv6pEK26bcg0bSPnAK3pZr225aYvHxB+1mFAe5K\nqJvq3O6iHvEHu76LgbJ+l3geTy8G4zta0lnMA4sWPjLegPiLS4yOG/1PIZTI\nPEp2j71a5AMWI6v0adw9K3VtXqSqY5//dCC6/mWAqll/0+VZMeXXAX3oUVUO\nQjJb\r\n=z8tA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAq6gE7d5BTOpQ6Vdsuy+P/g9MN+H0tKezMbVu7rAIkgAiEA890rOrhbaKYyZoSnNn7d1P3IZgCfRXpeN9OjjT54fGw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c_1575149270092_0.19347215804675622"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.1.0":{"name":"githubauthquerystring","version":"2.1.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^5.6.0","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.1.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.12.0","surge":"^0.21.3","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6518e493ed331c2ccd3820b4684a6f3661ed5a6c","_id":"githubauthquerystring@2.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-bnE3CIpAjoveCNd6iNt5yUGnd7ekUunjFyB6PZF5Sez6ndBdBU2w3pRiI7x0o0FNfVjq3eVgtcI4COBvFwUNPA==","shasum":"e30dd5b3a1b45631f0b2e640d7851e1e27c194f2","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.1.0.tgz","fileCount":7,"unpackedSize":19427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4t8eCRA9TVsSAnZWagAAN44P/3n9NAjBq9A0Q0VUGDDJ\ni8FDy0cG0yzcpr2VdhZ8fx10BhOA6fTeou20YJFCJ692gV8fsX2wqL6NsGBB\n3H9U6SRBPPMT9gAYf0VQBLnlZGK2SogEJr6StJFW7SAzxDc6TfJN9+HKYPll\nplVyqldFEURei/Fy81qrm8XkBdJzZZNedh7uOm+dDVyeNXda4LItrqAHyfjR\nf1yld2ODpVaCTfmXt8cUZEhcMQB2Wv/8+FXzHkvDaf2tksXmS7RzAcr6ze9c\nHeo+7ewrtNsQkOMN/70JoBOIiz7UjWcJqL/jVppaXUWwHBkBqbCIcYSTd/Nw\nQzHENH80whu5yR87nJzevFzTSJNa6ZHI130jSREhfQmBW1aA7FAs9j/fIEkl\nrV1sWy65L9FozO37ujpZAy3ZCy9AGzSZl5r5ntQ9IzXSzPovy8/6jIqML5gi\nfZderDYwQkeqBnr77lTJz8daKNu8aZYxAdF0xOwq+/O6Yv8DsTfHLn+/lw/c\ncWwXiiWu8DcvHj1vryRBrqPhfV1J6hUJmuhkW1A1RdVW83GUlBua9htzDY4E\nFR06hetlujuiyQz2d4ggkPiNllndY85MBW0ZlnQjzip0Isl76ia/v8w4nh7h\nOuY8SuyYoSjdWu29M9JXBx9EwnQRtlaQgBoMSn9PQ4qdojS3kb26fg+nwkiV\nA7PH\r\n=gAzF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZTvWIWl96v9umk7fWgg1EklMB6XmsQqNeNKrZ1EDZfQIgb9qDGKNwhuEXLfNtF21NwUmfyHLYA/qvBih3Swzi7cI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.1.0_1575149342339_0.9061520524723254"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c":{"name":"githubauthquerystring","version":"2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^5.7.0","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.13.0","surge":"^0.21.3","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"e241cce993614efa16e44b29c903e1910a2dbd4c","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-t1uV70HEAsKjMX3Gx/MhT1HFc+IGBlNX6B5CtkTAwyAl4u/006y2WjuLn5Jdkhyj8zgiWEhldHKKWGz5LS3X3w==","shasum":"3937b146d5baccc7356e05b0477e396131af796a","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c.tgz","fileCount":7,"unpackedSize":19689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd40grCRA9TVsSAnZWagAAvTgP/RNNfpZhJCuEdb/hpUZL\n0l9TJ4QxuvNAFiCu88cIhy/j21Of/jHzQf7wXx/J2p6a9goD3xey/nnsm+8K\nSQDAhSGdauo6BmRtuLOyKrRc0jMvM/8fSDJq4TkNyhwr2GZaEO7Hj4U7C27l\n/u7/XWIUpVnlCorM9J/wyt+1pfBjjQVm6+X9OrP6w2DeIKN+EETPOv9FChp9\nos38yhoD1ic57Xe6Z+SD9tb8HwouJ8SrGctv7g3IkHQ0efr6Yjw7o7hBGXKA\neTv4114PtNd7dvkDFoWn+jaOI2YRv2gGMZqXPlRBm1YbhIJJibp1zViyyOy3\nlnsPggGzSISeq1sH4egAIlhHcdg8aDsX1nCPMihsMWZjHs27XOR8CEDG6hFb\n57Tks9kqCVoKlxAvbiAqDcAGSkusx3amrGSkzv6l0Zp1JJ5/4my5U8qbTO4i\nviqe3weGwhWxOkxtBdQNJpqXKgMjbR/jX+MRand0TH0F2JnEBADgMJQlzt+h\nii7cBwtYxOLhdCi3wApZsC6JWzJXMgbtt6lZ/S7OVMFfEadxrVEEDKFkuyV+\niRebhnDKI3u4h21U7v/pdxhv7RFCn55B6mVlA+9AqPeleg5gWZFhHcqmNXeH\ntWC1RpnOzZaLfZRiwvJGHXhZmiajitSwlvbcXch18r83DC+K5c1AURgM/ZAg\n3aoF\r\n=/QBK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRRSoN68dopS6dg+uVA5LQKIj+f7sxOtquZ/I+FnfINAIhAKGRfuRpWzLMF1LwzoRb7CspZABgcWh9FYAqLwJfLDXi"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c_1575176234699_0.6319246268329679"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.2.0":{"name":"githubauthquerystring","version":"2.2.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"main":"source/index.js","devDependencies":{"assert-helpers":"^5.7.0","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.13.0","surge":"^0.21.3","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"e241cce993614efa16e44b29c903e1910a2dbd4c","_id":"githubauthquerystring@2.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-nKV3xZm+d5/sf3Iy4hHafeRLXVc1uSgY6IK5j4ddi3Sd2X1zdZlHZiK9jXe6eedQavmkAv270H034iQXa9211g==","shasum":"a37d7a1da06bb955a822860c3567d2b542a05969","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.2.0.tgz","fileCount":7,"unpackedSize":19632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd40h9CRA9TVsSAnZWagAAy4MP/1enwExld2Yuauex+j1h\nfJIg1h6PlSj+hbqFj4iP6FZSQXTz5A9oSIHBGisEc10w8tyI4Z4epJOtY/ly\nlG8L6dFhSL/4GKWa5o83aVMHNrqMHdFISeU/YWqZtZXY5BE+V5HKcX+qPV4C\neTtss6R1vsk2A29iisr/eOg18HJGvr6oPx+3fkUVON1Nu3V7BNysRcG4wu2M\nkEwVVykA+xVUBlzYV1X4FnC/JUsV/gzaI77bL4SPINNgewGlyIU7ram6EjLS\nUp5cjYwxaLYP/nPXxckokkkEKmLbLgQkmxc+DkdR8YeWSZHGY3lU4/gEGVAz\noiqQWl0AcJDOJvazJGfb3RCAY7iss0fluqvXJqc+8EuREWeZeLfzHnOQ9xDs\nSI3g/CL/kriMKlchWUE29K0a+3g+oSBxBEiwO69kq1VXN6dX7udqy+UR7hN9\n8oEbOyvFZcykOuZe8UIcy63kXh+LE8fg6V25untsTHfksaaFHE9Z+NYq+fVm\nlA8ISB8vdWNSsrwyF7G9k+3/XExLnru4kg8yD+prfdNfuV6Tqv9/3uYrxLb2\ntYw98kczQSiuN/mYBHsahsFSSHcbXvZs6HEHtpZiIaZxCxzOsytiE+yFzfkZ\n6A0q2GcbZ2twPRW8MUP40cKh6ktjwGBFuKaWp8WTRuNshi93lub9yzuKuFIP\n4xTz\r\n=2uqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzqD0ZB+m6bxOd6XV9lDU3kggzL2un6ymTT5vYJK98IwIgdqxyoUnSzcsPxLvCwR29vpe2tujMKOmbbqyZkTUfx5E="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.2.0_1575176316589_0.6980672438292848"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3":{"name":"githubauthquerystring","version":"2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"type":"commonjs","main":"source/index.js","devDependencies":{"assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.3.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Require: <code>require('githubauthquerystring')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/source/index.js</code></li>\n<li><code>githubauthquerystring/source/index.js</code> is esnext source code with require for modules</li></ul>\n\n<p>Environments older than Node.js v8 may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<h3><a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a></h3>\n\nThis project provides its type information via inline <a href=\"http://usejsdoc.org\" title=\"JSDoc is an API documentation generator for JavaScript, similar to Javadoc or phpDocumentor\">JSDoc Comments</a>. To make use of this in <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a>, set your <code>maxNodeModuleJsDepth</code> compiler option to `5` or thereabouts. You can accomlish this via your `tsconfig.json` file like so:\n\n``` json\n{\n  \"compilerOptions\": {\n    \"maxNodeModuleJsDepth\": 5\n  }\n}\n```\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUse `require('githubauthquerystring').fetch()` to fetch the GitHub Auth Query String that you need to authorise your GitHub API request to avoid rate limits.\n\nUsing environment variables:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch()\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n``` javascript\nconst githubAuthQueryString = require('githubauthquerystring').fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nUse `require('githubauthquerystring').redact(url)` to redact the credentials from a URL for error handling and logging.\n\n``` javascript\nconst {fetchGithubAuthQueryString, redactGithubAuthQueryString} = require('githubauthquerystring')\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubApiURL = `https://api.github.com/some/call?${githubAuthQueryString}`\n\n// now redact it\nconst githubApiRedactedURL = redactGithubAuthQueryString(githubApiURL)\n```\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-X9pbGoVsfPP4TfuoRieTMK2DWe4eRnA7IbMbjLqBURip4d+kg2p9pMtBBafIw3eHqG9Staf300g5+QAs2p367g==","shasum":"22eef8be067abbbd37b5cecf9116df6109ea6c0b","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3.tgz","fileCount":7,"unpackedSize":20531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7hCNCRA9TVsSAnZWagAAaggP/jfYOG9woLsQI8cOVfS3\nQFeyyT/8E8wa7Q7dw4WyyAQ/VxXIX3HZldDHTmHss1JSp53F2Dz5Nk4kqklI\nMArCiafOtzaLipYzBX4W/w0wKzN41V+mQZJ38oNGrXefJgzyNZBNlGWBmp8+\ns+ihqpronxHAMh+MALgzVKe2/WIgby+FqH86nSLHX9NalyjZ5vMUvpsQyp7t\nkqbsdMq1kj4zmJ+H4fXZmuw3EIqVBr/hCeZUX+wm8DjtGNpaejnOhfHnlNt3\npIto68a02QaUfC8vMRHEgcTyNPMjPmFVi7CetAFnbIngJa1dqfXOwlr1i1Wi\nTCmCfQKBmT5bXYFmV+7Zm5ZxrXbaDwsFbfRvso2ZoUeLyVEh3ZyWGuBwMmvQ\nyZ4M37TKl7Uq7paRPkRhFbFQcaZ94jTJDywd+Eab53oZa1YjNVY8WO922gej\nSAQXalmOtNLr/Vqhezagv+CohndmuccDDM7fZiLemFMFgfWAm+fBbT+ePzus\nHpuPEYOI7Wbu/DrIkhd7e4820z1olSdhKJHqpjrxvGboluZ/I52IEJFWw+WX\ntCA9rig3+xQt45AiAtZdeyeTP5iOYszBt+4fP0LBTGBJfd7jBBewuhZrHkou\nK1YX520rAwrQZon3ruEDPNrcoWA2kiAVJnLAF66I2drTYFFcAF3BQW9+x2FK\ncax0\r\n=IU4f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrABCxKhRFH4qrp4Rj4LzOkZgupFKhShAkhNnUcpGCPgIgMwem+RefKzhi27rWUzMs7ghwdSLj0lD4Qd74962TQBI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3_1575882893464_0.5209817414222562"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"2.3.0":{"name":"githubauthquerystring","version":"2.3.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["github","api","auth","querystring"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12"}}],"type":"commonjs","main":"source/index.js","devDependencies":{"assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^4.3.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"echo no need for this project","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3","_id":"githubauthquerystring@2.3.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-b7gmAOD8WX3lx+DlvB/xudYcCIibPvm/KPsAYUxXQ5UdZsXeX0ZzU/V1JI7kvSe7j5UZMHUEgI7wTB0z/L5t3A==","shasum":"d14cc8a62cd737de6fb84d395dd20c97abedc320","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-2.3.0.tgz","fileCount":7,"unpackedSize":20474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7hDOCRA9TVsSAnZWagAAMZ8P/jIpYDBSD9vy/iZTs7rO\n0Uz5jR/5ZsIQmOm4oqFjahCKbDfBmN9N9kPp9fu7pRnt7akzgvyoF7xylKBE\nQxvCLHqRmH/5sYnlRkytxDjBe8PVhW4VGZCp2+65PJURaMmz7WJeVlc7BrTN\nn/CgwZG5F1KQGEX3mFVWyTOe6yN8Hzav8KenHszObVTmUtJ/Yivuo34WmoBs\nXPUm4sTlH7TrEzzzZoEKM+E8Mx6YzlLidMBpKLo6srUyOAXqQoWwhsP3ikL3\njladwnIVLTl8FFyWRCDsvmw+ePb4AwLTCAY9Ko3F81vnjLSUDF7VOfN99wVb\nt+CySEtRmPnusyyxuXVD3sWdw/Ro6UeV+xvTk7Pl78Bg6V+5T5sCsBdz27DD\njpXnFhluW4RtKfPxZbqryGCLmRXy3rsRely0FaHJiKr7BwCWUeh525zxKQaG\nzRzONKnanS/KT7u6uXVylfaDBhwJwfUKphUaPihLj6TEeAUsd1ctNHC/Krz+\nSK2aX4onMG4pocks6B0guQIgnW3UbmVxGrq3oLIijjCY14XKQ3bcxBuRuFYa\nQmdY8IQlLdAX0akb8Nouz8jm5boUv2rvoXTl+Rc9munvIQTBiVn8iEAFh6Ou\nDYOQsy2Hw2zJQQ5rrfc8k4x4iwyvVB1jLxC1fQo6IS2A9lWh4pxn2gg27eUW\nfGlQ\r\n=1Kk8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIIzhKYkD9qEW+ZCaDdkWrlQGBz2ihLSQqBsOazue9PAIhALQxBVsKgauDMQovagzil5Q0HuogvRXTAv35NMzBcE/p"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_2.3.0_1575882958029_0.4369546487203255"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86":{"name":"githubauthquerystring","version":"3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a6f7540f2b8543bab771cabfbaf5aba15e184d86","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n\n\n\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString\n} = require('githubauthquerystring')\n```\n\n\n\n\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^3.0.0'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^3.0.0'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@3.0.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-esnext/index.js</code></li>\n<li><code>githubauthquerystring/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SHv4XKspBOcZ7kcUcktjpvLcVtru2AKOE0D2pj71RaLNoxz2Cn6xqDsiGGVwIemDgw70c+teChd3tfaDOQv05g==","shasum":"9c6104f98ac19099ee83c2f91ab7e6c79aaa5b2d","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86.tgz","fileCount":9,"unpackedSize":27319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bYECRA9TVsSAnZWagAApMUP/1Ne5Z30gOMkb6mUuwQ2\nfCPMU73gY9qMu9SX/nfBBpsXy5h+egwB4WeKWvtKGmZTJgDW/ucR8icMSx1F\n0PQ63TUyi0JW64huTQ+cx4t/W2obhVEpSs8XLRF4e02TN6UNn/nI2bOJY78o\nG37ezkUG8/5J/dQl+De2Jv1ZlCx+b+TVuz3OvKV7vzmWWb0KSdmiWrafAo4e\n1ReaFtNdyG2BoDxC1P6MU3wuAJBCNbTPV7h8JGrqo0jaow/lSnmkLL79W0KL\nSMRq0WWu9RavjksYV0UgC5MkAuX1IMT9KjGYJIJ7sFGbav5WmAfBKJ10X6yy\nv/FQrilSP913y5iivzoQyLU0+rUQBijhduHgKlY5J7VblxxZgtrjj7u1zCm8\nGGNt4b4fkEU/c/BYCmxufwcizai/dU26LoR2djFcufSgDUBV1SbDeQabQGJz\nk41gDxUNqLVrSmZY8UBXR2mSXRsFxWLj76DncS/fDxWci68Tk/O1zWE4eCt7\nDYg9RJmdw9hMEeZyAeg1aE14LKntiMF/OjDFMf/fqDoE8Iu+xcL1ucRMWZ4w\nXnLyBKLsx5ei56HxeWimXuByMVT1y8r7NZ+NIvfHCc0HjSBaygytdKNRJI9T\nj+ZvoO5UhCwRfrJx94LYC8v1O+ETQanV1ezpbRpjx3V57W+P4WBn8ySnODPt\nPgx1\r\n=ndgi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdk3ZqLjbglfX9Gt9RxcGdKrCIYhHQgHbcHRsiX2sYKAIhAKl5bNnaraX6XulmdvhZvXMd67va/abUjUREAJo5P3n8"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86_1576646148223_0.8300382773659976"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.0":{"name":"githubauthquerystring","version":"3.0.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a6f7540f2b8543bab771cabfbaf5aba15e184d86","_id":"githubauthquerystring@3.0.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ujk5aVwnD1rXRZqOdDFLTJRtzEgUExLwGzwHe84TBxiy5gu/CfGFxQn+0AYBHDwL7Q4iIBL9be39suYCOpdAvw==","shasum":"35fdd017185afa396b70386231a2144f12e06d42","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.0.tgz","fileCount":9,"unpackedSize":27262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bZJCRA9TVsSAnZWagAACMwP/ia12+6jWLVHnTl93U9Z\nNIrfSNqbNmd9prCANPhdF3yC6kyhizBbDzPcJUWETRIgxAKOcUYtp9KLoSgM\nt6TSUtf35zau3nUt0h27mdbafGO18yyuB5BLboYux00ZINsTL/CGfwmduLVp\ngviFPdbdpA1Tr0mcapPiveIss707P6XiiUgpwroAlCERsh5KpM12DQtSUii8\npvpXgU1A1Xxh+l5PwxFwlgr/URaCYagxVijhkHl9vGCapNbLJ/DCFF8xiodz\nRmWeeyQ+xQDqkv3S1PxO4N4T55rMgCDv2UerVExv2USpoB4bqU2/WSPiQmtN\nonk4yyQoKT2I+CUUEq8DC2APF6lhmt5XxAxQTfbFZ8mt+BCM5N6D3/0f2K6V\niUw+xM5TUbNhupumwtxhVDccbzW5HY7hTV7dYP5EmkmZKpl3aA2w34M94y07\nM5WT2zC0RNnpokCaaQPUs8oaW8TOAbFpW+a0VcGs7Uo3Zec8yuSu3G6fY6bt\nBrKU8pNuUMD93xyELg4iRQJv8QSu0oB969XPFMB0TEdGIPa4BtuoLda9RSeX\nG/30xk0Ola3BFMDHhghNhu8p7TRNBihT2jNpxFrpaUGtygtH14uqCbcDMd3p\nV5aexBc+JseRsoj5aodDjJ9f6D356/ucFQS6Sr0XybknAiLxrmCfrbOb02y+\nrED3\r\n=u3BQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSX4KkP1/xC51YmbsFz86EeKH2gk1LEUSFZATqZ9C06gIgNzS0xR33HlfLIreeDTjIs3dmIal95tDijg+immATYs4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.0_1576646217288_0.3889063368919399"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa":{"name":"githubauthquerystring","version":"3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f7b8c4b0f2683eb1faf0f374b230970d860652fa","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^3.0.1'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^3.0.1'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@3.0.1'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-esnext/index.js</code></li>\n<li><code>githubauthquerystring/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-YIF9nQqny6vVrwiTYxedjbxCcffUqWfQ8YWKXuzQqt0w367aZqfuNQ2C/QYDkUftiN/40j1Bk+E3YC38Rq2qvw==","shasum":"e012418d4a5cf851fd712dc72a8a2e8f8ab0d938","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa.tgz","fileCount":9,"unpackedSize":27384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bcmCRA9TVsSAnZWagAABeEP/ApRLEle5tLY8lesZCM1\n0+QegcFxk446WmfcFFV9e4G8lPrcmAnmdzTJKVXP4yEkZrvrGtXTt5SvQU49\n3FBwI4dAmd1PvcGDuozskvOaH+EmLtGq3SFYN7pdLEIpsJ+iI85HG9DNb8dy\nDs3LFh3EYsu0skg/0QGhfqPRbbACEqXpTaSvR8zEDQkSwudC4CKZNUKVNqBt\nBZbT3Vpd6pS2dRFWhemnRW3fhJEG6mZDIyP4tuMmj/yJFwaQLUZ28e/OMvt2\nyzij0QC/Lm+0iV88oTDsWZ1WXwSYGj+A2L1QL4KkZ8izChMaCPRLSfIcFbt8\nvgs4lBuD9gyFxK6N+XbVSsDRjpbYJyxuf5hWL6KWSKWSFM24Jt1tlzN9abdB\ng8fvroqTlB7f7jffcyY/8pqfLddKiAt2N8jxiXPSA4WtzFsIBsA8hC1qWEId\nqTJy4P2J838bzEYYsyQFlx/lAqw9anYk69P+wh4OekTx9ZEsPCIdo6V9HVQr\nVaVt0Ty0hP5HINETbqExF0V3vLDmaeUEAWa3WU2Rx5Tpk3OOyaE2w1178rEM\nmwjfIq8aR0DmcY0Ug03ZCFNL2lqcCp1ZjgFYR1noDD5LA4M/sUJ+unnuSW4v\nSTC+boKkxgiNRBFnSsM8664Yx+7TYJ5LDrY5MQy9nrHdA3VN18c/p+lOeMP5\nWUYO\r\n=flOa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNcKU+ZZ3hN/NDYqKmSSnSN3PRBR2X5p6w46C2vGSTnAiBbhzOBxUB4ZJyNOF4FwDLMEdDh07jkqNmBFJLeQjbR+A=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa_1576646438352_0.9328667505160437"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.1":{"name":"githubauthquerystring","version":"3.0.1","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f7b8c4b0f2683eb1faf0f374b230970d860652fa","_id":"githubauthquerystring@3.0.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-b12G3iwW8cv6oP0TZMj0OkBXYRLuE2fFSIxUJBgVAB7+JEvNqx8cd4HzaRBuHAZ62uwlTATjjb+jo3qejwO7Sg==","shasum":"bd51ce966bc539c982abdb1fcf67d7fd1640a1dc","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.1.tgz","fileCount":9,"unpackedSize":27327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bdeCRA9TVsSAnZWagAAeYwP/R2yBPJy2AHgNTajZ2zw\nzZus8v63HfWhqasHfYrCC5IzgDJK9cQTys/xlVEF1HZzpkQWJ4vkj+DeKfCK\nXBk955IVC1UvrUkcAkAz/kVP54mLN3sbLLP9sL+XAjr75s49sPGDXZI9fMEt\nXHgS06Q1eGjOz/Cox5vLIZXpaLoTds7h7gWOXKKIBSOKBiCd4Tp7OGhdErX1\n6jhL1OhkFOCskh/49sMcFxYwkxjsiLABIarccyb3TJdfQCNp9vTgwZjirKwY\njGVaxExFnwV1n3zBATqg7x7MSl76BXU0EiMnPuavUHxfcEJ1bVIukgoEkjfK\nc2ZNxNVV9gmF2Fufm9KBp7njCRG9Gk/LGdLtkmtG9vOVHVE2rBzuDMdYOu59\nnsLsC7KS9fAuiTRlKlFXmqQDeARlMdwqqAQd0S2thnBTOYsKaPR/xwYrqbzi\nklg7/kfm939RaWWvUYxIEDEJssZngOyEa/9SDgX8lHTo8N8d+ZLzWzrUDONX\n71/V93WhyJAKagi5JEawL/YLxBpLPqAwlsIMILhQx8Je8hGlixytGxC4/GvR\n/JMpAe0FSwxg3bCJLMTlXLrsY7+kL3edPqGRYD+/0sAWDL+8QQE56wx+Usj+\nmqBrNyVdtKx1MgBaX2LhwpIG29RD7+3RYLmu/RECVcRrF8bRkK9KeiXAFAUD\nmrN2\r\n=6wx1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQh6L2wsilRJeO6xWq1mBi6OftgdGIO8C5PIph8DHOfwIhAJ9/VZae5lLr8HP3vAw3VgR4EirkyW9a7XXPDKHXgmRT"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.1_1576646493600_0.7002945727510148"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817":{"name":"githubauthquerystring","version":"3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^3.0.1'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^3.0.1'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@3.0.1'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-esnext/index.js</code></li>\n<li><code>githubauthquerystring/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Bm7dV4SHGfmIIIKa8Kh94QKvlOzCq9PqlUi1LXEfti8Hb8glg1IOpS1sM8nuxFjOl8F1QkGulDvx7a3FTOW+iw==","shasum":"f199b829d8c479e5065d65bd7a5a6085ca9f8a09","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817.tgz","fileCount":9,"unpackedSize":27321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bkGCRA9TVsSAnZWagAAuz4QAJULZIjvS0WC5pNCvZru\nPsIlxOKuXAasmrlo21QDQssmLuleblZlKKNjivQjgZXKFCQYIQYOkz5NaipQ\n2ljqCC0fkDH/kqAg4/WPJ9i68yzC6FEeKONJeXc6TI/3F96uIxTKsfXdfjj7\nr213s+T6HSlJMJj96P56RahX642iiJ/MpGdFxsGYjBb0sQ7EEOzSPjvvZrVL\n6UEa6Mf36vSBQGIbF5xUxunz63St4qMGuj83EQpHqIpavsB4GsT/qz9/byyk\nl0aLuziKBPEYb5o9WKhB9sYGGmLLc7p9Mr7CgyMrsH569GkPKEgr+NnWD0Sz\nvUmluWX6ALfxk5l+de/iQdC4kH6zP28ljLsFVIIvogz+IVvKteRkODlefhUi\nEesmdyOFQJihe9R4/RrC+Vmk9cOur/MCbkXzdWjcnciSmuzX8FComZqb5trj\nhFtPAhsKygR6o69rXl9mQ3tAQkQTaTsRYJqn5bMxeku8NPgNFdkfmTAfTu2G\nlyNsZCKvxdWHTcwJ9LAR4kdDhPB9x9QeDSiB4+ViTmtYZku3TW3RPZ9UgNBr\n1raD0WwiQTZ7VBk82xRhPbMa1dfZvAV0Eq1GP+o4QCCYckJd/Z0iernq6gLt\nlV1CPRFxMdbVZsNT+9gF/YqqE8y0wpfVx80Uqegm4BZOnzBP4MPI+IhnHgwq\nrSOD\r\n=TKYC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEiGaRQLeItEI26snfuN62yuIuvpONSgU6qtiYmkaMCAiAlTdF7IjKmqpUujqC0NNwAUCLVFwnhCvoR9UEumRhnfw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817_1576646918503_0.14375414305762746"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c":{"name":"githubauthquerystring","version":"3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-esnext","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"1e0b8a6b75715e201ab828f6ed1026202e312b9c","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/globals.html)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^3.0.1'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^3.0.1'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@3.0.1'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-esnext/index.js</code></li>\n<li><code>githubauthquerystring/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-3xW3yjOZhnzyBF4f+xk9TiKlZsBtNGJJ2ngq8ndeH2sRwwOJz16sBQK+zaxskGaXYjr6F7kYk1+FoT0jToZtbg==","shasum":"2a12e7407e98988cd9c6965b0555b14a63535b2e","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c.tgz","fileCount":9,"unpackedSize":27333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bunCRA9TVsSAnZWagAAvFIP/AnBrSCc3/9A8LYx8R7+\nnBDl2LAz2Q9LA1dwAtgda3gHiaMW71TIxsySfZu15NVeUWxyo5hNB/i1K88c\nuBDmhLVc0qwSj4W3873qSn46iVD3ciYqdd18yXHOp1g86KewJLrcOThFxXBE\ncNuFSrP0SaQZaH/FmKNlMhtydkAoCLmIgatdiSBOqOvHp8+12RALDCfnvjd7\np6KRpvBw2YFaZnX5f7vUZDkbIqmvDmJth3dGm6l1ge0VT19PDdmTvL6cc8BN\nodPD9x8C4I508zurHS+CUDkP/j7C1oKXImcusFLeL27E9u5CBLgJuq0vVzhc\nHqMrkDcniwN/KsDD2cLsY6i9st8dAWPe1/xRbwZEN020E7NGevHVy6Foik1D\n54invCDebYFsgGeD1esMY026o6mwBUZvdvxH8CR9zXtZeakXcANbXC88EfgW\nzETdd7EzKiU31zhO7gFYRPXiNbK4oHcydZHqjq000ia22MskvLAyWV8HxKJ5\n+0566HUt/dgXSsdOyHuKvi1rNzU9FuXKKqmC7IkPhm7vteCcKM4rYAkgX+kS\nPO/aa9BgyIIZgOCpVoFPV6JZjJT4mHDcG6HRRMf0fSXXR9zYzhu79voseB1W\nffSG9uMk+unUTw66qw+/BwiRnINRX8sR0CwCidU6lwQyy0JjkMDqxIVeEfXl\nGsya\r\n=EWyT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICr5bChtWIchhTITX2BEbls06OWyvMHyi1g2sy2m9ZSEAiEAs5TgXRL8CybZoBTOJpUkpDeMXRWi0nDniHajn+yUkZU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c_1576647591261_0.8830906360286226"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212":{"name":"githubauthquerystring","version":"4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ES2018 for Node.js with Require for modules","directory":"edition-es2018","entry":"index.js","tags":["javascript","es2018","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-es2018/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","assert-helpers":"^6.0.0","eslint":"^6.8.0","eslint-config-bevry":"^3.0.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^2.0.2","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.17.3","typescript":"^3.8.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-es2018","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-es2018":"tsc --module commonjs --target ES2018 --outDir ./edition-es2018 --project tsconfig.json && test -d edition-es2018/source && ( mv edition-es2018/source edition-temp && rm -Rf edition-es2018 && mv edition-temp edition-es2018 ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-es2018/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"8d626171c108a63018da090bce64020145f31212","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/globals.html)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString,\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString,\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^4.0.0'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^4.0.0'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@4.0.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-es2018/index.js</code></li>\n<li><code>githubauthquerystring/edition-es2018/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#9th_Edition_-_ECMAScript_2018\" title=\"ECMAScript ES2018\">ES2018</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-LOszYhpGbPgAtYRnfaBwDQiIjK9Y5eoKMrwDY1G5c2+y7ZvGy6di6TCUnViCiMeanz9dkTqIWNdGPXrokkk+vw==","shasum":"5844d17f67d446be87ff5735fdbdefb14f9f028b","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212.tgz","fileCount":9,"unpackedSize":27721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefTFDCRA9TVsSAnZWagAAzzcP/2M8HxbcAO7y91sbYY6u\nqjPitzA41Oo/k7mHNmGhApS/1E5Zr5lKqIVsZihhjmKjJ680z2F9Uevow6rG\n7zeHIyqrq4f79NRbCo+yAysLECoxPSrRq5FQv6jK9Z/QHDxn1QFrESugFarv\n5l0KKeifSXYZZ9ZmtQDrMvRgt1evc70Fz+HJZWLDf9jW1i7D+1v4dYLhPTIu\n4wvV94UkLsPhiMTpt6mNa4pNLE5KKoWyLPmKLNpo9UhvQ6K4hiEMtVVDi7Ay\nfFMdnCfiEjeVlnXcQQGBlMod/Uk99K98YkfS4h1hh15+iAyFf378ca54dCGq\nuAIqKHPWWKwlQysBPU6qc3haXiBOrk+9dfHT3DJtzplFrbGZCxsrHRjUvptE\n8QNoLrjyUHq50jvQL6fX8BINgYM/gKNZ4IgX0oZQ2SGj7VyWbJAvw8GXFhED\njbmOJQ6ShLidFa+UNw7lC3R71hdv2kVFF3cZYG2IinN6QRB1lg9uB0wSYYX/\nWPBxxjcXKE8cVRJlb0wOY+VQmjBypqd5awdHm1etgoN1rzPBtJx3CSLgGgVb\ntCFv4VnsH43cBNkQ2vkg57CMKiNiLFJOOvAPLra2v0lJKDajt9Ev97qQlklH\nje+sfmtWGWyqHHkpi9NGNYRN/TDnp6vh8Sdm/3yAKMUVtxfoRAvLuLNlsNoa\nMC32\r\n=G7wp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELxjNtWZ2gUE+V6yBC+0khHfpUxC1HWVOmfF7AzHceZAiEA8xh+KdMeELJhRxCvADUdut5Ww3dWSfPFBWgTORDiHNM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212_1585262914627_0.638066954836711"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"4.0.0":{"name":"githubauthquerystring","version":"4.0.0","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ES2018 for Node.js with Require for modules","directory":"edition-es2018","entry":"index.js","tags":["javascript","es2018","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-es2018/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","assert-helpers":"^6.0.0","eslint":"^6.8.0","eslint-config-bevry":"^3.0.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^2.0.2","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.17.3","typescript":"^3.8.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-es2018","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-es2018":"tsc --module commonjs --target ES2018 --outDir ./edition-es2018 --project tsconfig.json && test -d edition-es2018/source && ( mv edition-es2018/source edition-temp && rm -Rf edition-es2018 && mv edition-temp edition-es2018 ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-es2018/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"8d626171c108a63018da090bce64020145f31212","_id":"githubauthquerystring@4.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-oIfpZKnxPjSW4L3jTDIuTwa9k4Tjnpm5uMf/RU4KoUU+8Sn+Cnc/LeJR96YObs/i9j2PUkWxILgBRRxfk09DkA==","shasum":"e5d72c0bc40beef4b9c2af5638b164f5f83e2cb5","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-4.0.0.tgz","fileCount":9,"unpackedSize":27664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefTHVCRA9TVsSAnZWagAAmksP/RwXq9QnHcHg9cRC0wt/\njTGMsFRWzgI5KKTnMSjFGU5gzCiShuW0k38IvAW5uNtpuBOWqUSNHt5R0Z34\nG+ngKm44DZRAz8yKaYynh7jMr+gVN3dUmTWF1XPZkQdWzxdqOzzKpDPNL5pb\nrwDM0dlff+ebbgcSczL6Fo5BJUHUR+X+0mdrghLx9sKMtMlw5iNN4PIOyDiz\n6qwGVUt/rmxYzE8oheoDd7cIJMMN3cB3r1BlfcJSZ+Kd+zA0yr1vKHMI+M3O\nYqBzbDYnBGrtKECd9CVCe0v35FeQjGzg3sB+f+S7rUErvdNBmfuV6dZXFX7a\nrQUUVpdGPWuEbopTBs7ag3TmqhAk9X/1Xo/q3N7p+XLlKlY8YdP4QoYNdwcJ\nymkiy3FoCLO2D1FsJr783WWLsT7QxfHdsZ4jD1WPqYWWeq5EgcRfT4GHYrzo\n0f7TCzk9k1LlmnXpvtIFAOiay9tHjnjT5UNHIqAZ49+BkDn8OkpWzU4DlhdG\noh2im4puQcLBhAW27Q9Wneez5rwRl79RM2rGaZ2HI80yEapiDAZFqUQPchHL\nFWe9A6kx6mMFsZro34yD6yiwXYetRr6+4UaYzwoHVLF29cWC3Se1FchN7ZSS\nuvYU0uHX6q2w1uV2bAmwTIqjtgXraMcY7ZhlDVMG5WUADN2ZDUrpApJzf/Vs\nKNCO\r\n=+dFE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDtyiioHKrKyidT84A5CpmEpq3h/MrC6ak53RcIf/CflAiAvYKnuZE4RfLYm30tkiZ3+tMoulGGLT8IPreGLI3Kt6A=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_4.0.0_1585263060685_0.6175002926178228"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6":{"name":"githubauthquerystring","version":"4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ES2018 for Node.js with Require for modules","directory":"edition-es2018","entry":"index.js","tags":["javascript","es2018","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-es2018/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","assert-helpers":"^6.0.0","eslint":"^6.8.0","eslint-config-bevry":"^3.0.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^2.0.2","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.17.3","typescript":"^3.8.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-es2018","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-es2018":"tsc --module commonjs --target ES2018 --outDir ./edition-es2018 --project tsconfig.json && test -d edition-es2018/source && ( mv edition-es2018/source edition-temp && rm -Rf edition-es2018 && mv edition-temp edition-es2018 ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-es2018/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"26ff4873284e129ff5fb4cebd0e77fa724a520a6","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/globals.html)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString,\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString,\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^4.0.0'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^4.0.0'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@4.0.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-es2018/index.js</code></li>\n<li><code>githubauthquerystring/edition-es2018/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#9th_Edition_-_ECMAScript_2018\" title=\"ECMAScript ES2018\">ES2018</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-K1aQQ5niDbXG9BjdA5/SdBQUiBXg7XGNTZYH1NcWHCMNO4uPc9hsM2zn8cXEg6AG3MWdMgU3ObmlDR5WPPnf/g==","shasum":"5e651c087aa21d329b504b4c8f0cf40a9be6fefb","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6.tgz","fileCount":9,"unpackedSize":27780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefTP2CRA9TVsSAnZWagAANfgP/jSg2xe+HmsOMz29xsU7\ngjEgeo7Ln2P5nWGqooY2zCK7AN+vapclxRPlhdfYqjLW+aM5cxBlXXYSlBNC\no7cZHZgogNIvw8zzUUgSxt/hflVpvGm1C7IAduQY7saAMzpJ+FT4KD67JPoX\nXyZtxLVOv87q70Pp2DEeKBcyFS93kuB92flwigjfFHMnDegpcLiCePpnjD7X\n08AwiRX8b+cSBvRlHwQazULgbZzHD4ItL1jhRTqBa1r+32RctlyEgi+VNVqs\nVHgTjAZ2i+zWR9O52q2W0h/eHvE16C2lrnwb6sB1L5cH167AnLsVsRlX3Y30\n7SopPqWlZwM8H+i5IQecvgdO/4ZnsmQObyyr401KHSLOYPxkE7lwXwGkB5qD\nBfsowYcZWlPbvuQm81UW0skZclqjrdmqS61w5KOjrFp3u7i8zw4rfacXGcKs\ntFQqIUjUOifRDuyv70cbdhMwhGAhzVy1Ck4zjiFeqNyHpZM0J+1hoDLjB3uT\nmoreVZxr1FcVfB1XVkDIX3fbx7wABOXC6BsGAVIC3P2jVU3M1uosPEhB9SFv\nPCIA0608S2y+T0+vu8EaIZGwmpSrE3TOq9RK4qW5VGlcWUjPYk3bIfMnCXIM\nF21+0p3nxV5GlFRV0eowi1soaMe6nlvdwyfIc8PdqYNQc8rWN9G0NkeHIfRZ\n81w5\r\n=GJR/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3TGoxJP1Q/4EA6rxHJ5pHUySjq4DljbBOLM+5B5BMgAiEAqknQk9Pf3sXqtBAUfA63faK06px8uR2fEJvscF4/7uo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6_1585263605633_0.4411324128806804"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"},"4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681":{"name":"githubauthquerystring","version":"4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681","description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","license":"MIT","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for web browsers with Import for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","import"],"engines":{"node":false,"browsers":"defaults"}},{"description":"TypeScript compiled against ES2018 for Node.js with Require for modules","directory":"edition-es2018","entry":"index.js","tags":["javascript","es2018","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-es2018/index.js","browser":"edition-browsers/index.js","module":"edition-browsers/index.js","dependencies":{"simplytyped":"^3.2.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","assert-helpers":"^6.0.0","eslint":"^6.8.0","eslint-config-bevry":"^3.0.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^2.0.2","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.17.3","typescript":"^3.8.3","valid-directory":"^1.6.0","valid-module":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-es2018","our:compile:edition-browsers":"tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true","our:compile:edition-es2018":"tsc --module commonjs --target ES2018 --outDir ./edition-es2018 --project tsconfig.json && test -d edition-es2018/source && ( mv edition-es2018/source edition-temp && rm -Rf edition-es2018 && mv edition-temp edition-es2018 ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:module":"valid-module","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-es2018/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"4ac93fc04f86b47d62732dff79bbc996c8578681","readme":"<!-- TITLE/ -->\n\n<h1>githubauthquerystring</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/githubauthquerystring\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/githubauthquerystring/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/githubauthquerystring.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/githubauthquerystring\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/githubauthquerystring.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/githubauthquerystring\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/githubauthquerystring.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/githubauthquerystring#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/githubauthquerystring.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nAuthorise GitHub API requests by appending the environments auth credentials to your request's query string.\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.githubauthquerystring.bevry.surge.sh/docs/globals.html)\n\n### Fetch\n\nUsing environment variables:\n\n```javascript\nimport githubAuthQueryString from 'githubauthquerystring'\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_ACCESS_TOKEN`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_ACCESS_TOKEN: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nUsing manual `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`:\n\n```javascript\nimport { fetch } from 'githubauthquerystring'\nconst githubAuthQueryString = fetch({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value',\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n```\n\nIf the values did not exist or were not in a valid combination, then an empty string will be returned.\n\n### Redaction\n\nWhen error reporting, you should redact the error message to prevent credentials from leaking in log files:\n\n```javascript\nimport { fetch as fetchGithubAuthQueryString, redact } from 'githubauthquerystring'\nimport 'fetch' from 'cross-fetch'\n\n// fetch the url\nconst githubAuthQueryString = fetchGithubAuthQueryString({\n    GITHUB_CLIENT_ID: 'value',\n    GITHUB_CLIENT_SECRET: 'value'\n})\nconst githubURL = `https://api.github.com/user?${githubAuthQueryString}`\n\n// fetch the response\n(async function () {\n    try {\n        const resp = await fetch(githubURL)\n        const data = await resp.json()\n    }\n    catch (err) {\n        // redact the error before logging it\n        console.error(redact(err.message))\n    }\n})()\n```\n\n### Renaming\n\nIf you would like to rename the methods to something else, you can do it like so:\n\n```javascript\n// using named imports\nimport ghQueryString, {\n    fetch as fetchGithubAuthQueryString,\n    redact as redactGithubAuthQueryString,\n} from 'githubauthquerystring'\n\n// using destructuring\nconst {\n    default: ghQueryString,\n    fetch: fetchGithubAuthQueryString,\n    redact: redactGithubAuthQueryString,\n} = require('githubauthquerystring')\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save githubauthquerystring</code></li>\n<li>Import: <code>import pkg from ('githubauthquerystring')</code></li>\n<li>Require: <code>const pkg = require('githubauthquerystring').default</code></li>\n</ul>\n\n<a href=\"https://www.pika.dev/cdn\" title=\"100% Native ES Modules CDN\"><h3>pika</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//cdn.pika.dev/githubauthquerystring/^4.0.0'\n</script>\n```\n\n<a href=\"https://unpkg.com\" title=\"unpkg is a fast, global content delivery network for everything on npm\"><h3>unpkg</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//unpkg.com/githubauthquerystring@^4.0.0'\n</script>\n```\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import pkg from '//dev.jspm.io/githubauthquerystring@4.0.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>githubauthquerystring/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring/edition-browsers/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for web browsers with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>githubauthquerystring</code> aliases <code>githubauthquerystring/edition-es2018/index.js</code></li>\n<li><code>githubauthquerystring/edition-es2018/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#9th_Edition_-_ECMAScript_2018\" title=\"ECMAScript ES2018\">ES2018</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/githubauthquerystring\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/githubauthquerystring/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/githubauthquerystring\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/githubauthquerystring/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2018+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"githubauthquerystring@4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-3wlBLGlilDtn/fTZvTD2MEjlYxtuu3kZuPojrDcqFqEwQCSlYXsrnkecp9iZi/Zh9hqnZwvJqi6EI6j/SUYePg==","shasum":"f4110da79c644e5ef2de97f4350c9d42cd7a4c57","tarball":"https://registry.npmjs.org/githubauthquerystring/-/githubauthquerystring-4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681.tgz","fileCount":9,"unpackedSize":27784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefTQICRA9TVsSAnZWagAAposP/ArzkmsG19r2MFzuvgna\noq1/vvZKyg4dHJNDWLG28if8eOXv7GDurjGxZPMmTOYNRwtM4Jqs1w7G5UwU\nYfoBk/3RCn8GxsAOQ22yTIqZrVNJ+fzIanoJr6BP5tbR8s0aZkzwPhd9cVso\ngy7RzweYhjRna++xVwAva4STfR9mQXIg7w23Fx9SbCMMBtE6PSU/Y4sHn8Lm\nSHOxpjtoSY8ENm9rhPDl8UzWqvBrcP24MIOFBuTfP3xse29usJp6B7uVUduL\nQ+Vmu6Pp6FGY0Po+5VzYir6zZbDMoHoO7feTY6Z/c6AicSel2+oY1+zTr/JP\n7DPl5d4AC7NYPNdow7hCv5EFRZuHAyVjmuBZn85F81ZQByxiJFBsEngcRHZW\n6q7v67x470d53+8Vr39aH+GVFyZWn2H/uLyiWHzDkZ3b1sqOUwpqsePuLZGX\n2FZ4noWUgCLwx3pIcMMeGRnrPnJbFuno+GYC/tEkl7Aa43DKTYDDdTqkj4O1\noxh6xd+DzFFtcrYy2hjDHSDp/Tlu9vkpLGdpFNLUlTeR48waYa9+bM6u53CG\nhWbpsZBGK3kgBIK1P1Ol8nBewXbzC+zuO2iHKA7bvmcPmU2a+TyqI4VkVj0v\nIH/mqBcQsd7GWDTKoB7bpPncM4PwuR8Gw4LLdbNwQsHPOCnKz/KS2BK5Pt0u\n6CQT\r\n=zjg8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFb82Dcgl/u35U1wKaWvxO6D6DXCH9kn7a/AdrWI8gwlAiAMvkOAhjCOth1nL2x/egJx0u40K/cmplON5CMvZpHZJg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/githubauthquerystring_4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681_1585263624453_0.48499604277871233"},"_hasShrinkwrap":false,"deprecated":"githubauthquerystring has been renamed to @bevry/github-api: npm uninstall 'githubauthquerystring' && npm install '@bevry/github-api' && open 'https://www.npmjs.com/package/@bevry/github-api'"}},"time":{"created":"2018-11-15T10:30:24.963Z","0.0.1":"2018-11-15T10:30:25.041Z","modified":"2022-05-03T20:54:20.393Z","1.0.0":"2018-11-15T11:05:58.046Z","1.0.1":"2018-11-15T11:10:26.221Z","1.0.2":"2018-11-15T12:29:15.057Z","1.1.0-next.1573203144.7245ff499373378ea403edadf5cb5872e1a92658":"2019-11-08T08:52:25.980Z","1.1.0":"2019-11-08T08:53:49.628Z","1.2.0-next.1573630194.4f006ab48ef81ce846d1737b2aeb77a582c9d9ac":"2019-11-13T07:29:56.459Z","1.2.0":"2019-11-13T07:32:15.380Z","1.2.0-next.1573633467.824e42e2da3160fbc089821df1cb9cdb35c5f18e":"2019-11-13T08:24:29.373Z","1.2.0-next.1573686762.c4f90c80d6b6a708d6b16e33dcc32f469c6da00e":"2019-11-13T23:12:44.731Z","1.2.0-next.1573741430.9297691ce9d876bf0111e1f2bc6a775383071303":"2019-11-14T14:23:52.319Z","2.0.0-next.1574051403.96bc1c4da071c55a790ee37c2db2bfe81c8ef568":"2019-11-18T04:30:04.968Z","2.0.0":"2019-11-18T04:31:06.052Z","2.1.0-next.1575149268.6518e493ed331c2ccd3820b4684a6f3661ed5a6c":"2019-11-30T21:27:50.206Z","2.1.0":"2019-11-30T21:29:02.449Z","2.2.0-next.1575176233.e241cce993614efa16e44b29c903e1910a2dbd4c":"2019-12-01T04:57:14.846Z","2.2.0":"2019-12-01T04:58:36.756Z","2.3.0-next.1575882892.f0cf3d78fa7c1fa21eb33d5a0c2c00edbe0f0bf3":"2019-12-09T09:14:53.693Z","2.3.0":"2019-12-09T09:15:58.120Z","3.0.0-next.1576646146.a6f7540f2b8543bab771cabfbaf5aba15e184d86":"2019-12-18T05:15:48.410Z","3.0.0":"2019-12-18T05:16:57.460Z","3.0.1-next.1576646437.f7b8c4b0f2683eb1faf0f374b230970d860652fa":"2019-12-18T05:20:38.485Z","3.0.1":"2019-12-18T05:21:33.803Z","3.0.1-next.1576646917.f0a8d44b64a1e6e1a2ab7ff0130e0c08b2503817":"2019-12-18T05:28:38.595Z","3.0.1-next.1576647590.1e0b8a6b75715e201ab828f6ed1026202e312b9c":"2019-12-18T05:39:51.471Z","4.0.0-next.1585262913.8d626171c108a63018da090bce64020145f31212":"2020-03-26T22:48:34.747Z","4.0.0":"2020-03-26T22:51:00.784Z","4.0.0-next.1585263604.26ff4873284e129ff5fb4cebd0e77fa724a520a6":"2020-03-26T23:00:05.747Z","4.0.0-next.1585263623.4ac93fc04f86b47d62732dff79bbc996c8578681":"2020-03-26T23:00:24.585Z"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"description":"Authorise GitHub API requests by appending the environments auth credentials to your request's query string.","homepage":"https://github.com/bevry/githubauthquerystring","keywords":["api","auth","browser","export-default","github","module","querystring","typed","types","typescript"],"repository":{"type":"git","url":"git+https://github.com/bevry/githubauthquerystring.git"},"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"author":{"name":"2018+ Benjamin Lupton","email":"b@lupton.cc"},"bugs":{"url":"https://github.com/bevry/githubauthquerystring/issues"},"license":"MIT","readme":"","readmeFilename":""}