{"_id":"@api-components/api-console-github-resolver","_rev":"13-b340574e099874272ff38fa4e8ac76d2","name":"@api-components/api-console-github-resolver","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.1":{"name":"@api-components/api-console-github-resolver","version":"1.0.1","keywords":["api-console","builder","node","github","release"],"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","_id":"@api-components/api-console-github-resolver@1.0.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"dist":{"shasum":"2d02dc96335b559c9f710c907a34aa3d01258448","tarball":"https://registry.npmjs.org/@api-components/api-console-github-resolver/-/api-console-github-resolver-1.0.1.tgz","fileCount":15,"integrity":"sha512-yL5xSU3SxdaVjme0gKZSe5Ux0Ok9TG2R5ilL1g7Pify1SKDFfRX/GwutDSBdKkFQoDYdtDqgsR0Wch7qXOh6Fg==","signatures":[{"sig":"MEYCIQCpEdfI0jwHFxFOhiNJuDT4JqsJAPPJlInLL8n94qyxHAIhAM6GGkpOQaZSIZlip841sam/rFjYeeFaVhMVqUWCIYK+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2i5PCRA9TVsSAnZWagAAeqEQAI7NO1e9s8k0OgAM4GEQ\nGEUgUvT1yvfBoQTny7tRnnWGgjSGd7hPzJzuUMYuedN2f7VpRi+9floCUgNU\n7+rtLmG+UQM9XM3v9wRvK6QPrTMl8rDPjmCy9k1vZzadhRo97P4pEzZxXMjw\nRXlBmIT2tmuT/ztYeoY3UqpCDrjLL25BGI8YUfAV3FlptxQNM4jd4yHTZYFf\niBIoX52JnmvcoMAJDPOrNUyOq+o/rHAgV7rY/vg3baH5L6yVVKfgQHsLUEO7\nvoaUwA0n1GH2ocvDKhMhKFBb/R2P/QMOsRRi79o80VozY4UhKBqSRdkcryzo\n9UIy31YdpUamFSjzSYzSPOVGIxwWQFxjAXWF7Y0wZbmc2o8URg+nE5/0X716\nvEV/0poeWx5SVev1GBywSndyyj6QKYX5Lo7TUwIWCOrGI/UARgZStL5gm4M5\n5RLIUDcekFO2px7wKnqY/TBilsdDQFtl4rtPOETrBjCW6DeN30PtCG7D25DA\nWrg0UN3XaT9b4H+KUBof5b80jDP+mJ1ExGXerFL0R2qe1WttWHH+JJ0Q2maf\nHHznRVbBbbYPDV1f5cjeTRYRXJE/PV3hrs7NG8cbeIpspTe389P5o7+bl1PD\ng9nhqiEmuIoXVVp/1B/HZHF4xNjZRn5JTVhykh9u+pDEwYhYIUmb9WnohOyA\n8p82\r\n=tjFQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","engines":{"node":">=6.5.0"},"gitHead":"2f40ca4a656cb014908cb776c8e1a091f4f12b80","scripts":{"test":"mocha 'test/*.test.js' --reporter spec"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Gets information about Mulesoft's API console releases.","directories":{},"_nodeVersion":"8.11.2","dependencies":{"winston":"3.1.0","fs-extra":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","mocha":"^5.2.0","sinon":"^5.0.10"},"_npmOperationalInternal":{"tmp":"tmp/api-console-github-resolver_1.0.1_1541025358887_0.6169535049772397","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@api-components/api-console-github-resolver","version":"1.0.2","keywords":["api-console","builder","node","github","release"],"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","_id":"@api-components/api-console-github-resolver@1.0.2","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"dist":{"shasum":"dea9d0804c977948cd3a3c855e87e01152cad53c","tarball":"https://registry.npmjs.org/@api-components/api-console-github-resolver/-/api-console-github-resolver-1.0.2.tgz","fileCount":15,"integrity":"sha512-xR83xqltFMnXi1U2i1TxyKZX5DPdrgkRSnrS27jS35hYj/Bx4noZL+PK+CruPeJLd6z3hPOuUjtVaR5OuqfC1g==","signatures":[{"sig":"MEUCIHDomMJUiJBQSFiZZ5npH9MugSZst0L99CJm8p5YlTCoAiEAnomO+EVGYtn/2ueapT6T48E+/+hMp8wGbyD7MkbNsxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3NesCRA9TVsSAnZWagAAydgP/jhAp1j1BDz8cF4wTkwv\n/v07p5/5O8MO2aWpb1yYZQQeKNjti2BJOSnXE80sXbXDXWVCMvYAISuNqd10\n/WGD/YdfL4/QA1o7bTwlty+qBsXY3z4ducsu4hnX62sMQru46bC8qpSgNEUL\nXsKhHqx+c2jUuU6GyTToe5qqqFOcUuvbSgGFyrLuoekUPUyjPz7zRUR2QwWM\nQDEY2/TA8OEz7ywc2hkunHXQXCHfs7L2fBI3DebQ1nXjyzI+Nk1nhgQPs3Nl\nezD2skeIobH50ULr4TJ85vEg52Gp3phDpj9UpuwqiBlQ1b8wGWl63meAjOas\nRXKnz/+HMJ4eeZsxI+24/jet16dB6kCn3BjhZ6R3JywMV29S58UKLkiglUV2\nkIO/Or8doPR3VfXNaVHonJTsIV5ljy48qwHlaUVFJXMFqJhHSTYHzE0O1vYm\nHeLsI59qKRx5wduZP6RC2pr5oSZiTQcGXhUp9UkH7keN286oFIAuZ28a0tRS\nzQO3p2RLEKrdbioT42yxoixVai3RWJiYmBv3UcA+MbNWrKjCg56AjymqBguW\nBLkBrt8nOmdDymWCfDsPzdrpfz7n4+DTraDiJDsiTV9ttataN6GBjhDlr6oB\n6kCR/yJXxy8QhvgAz9rsUf2SQfaeLPJqJ1yBEn914rA2Umc88Pfeg6+q3MQo\neSa+\r\n=tbgU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","engines":{"node":">=6.5.0"},"gitHead":"1218690104f5323bdc0286744397585ade5d6d26","scripts":{"test":"mocha 'test/*.test.js' --reporter spec"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Gets information about Mulesoft's API console releases.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"winston":"3.1.0","fs-extra":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","mocha":"^5.2.0","sinon":"^5.0.10"},"_npmOperationalInternal":{"tmp":"tmp/api-console-github-resolver_1.0.2_1541199788244_0.7287695940275645","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@api-components/api-console-github-resolver","version":"1.0.3","keywords":["api-console","builder","node","github","release"],"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","_id":"@api-components/api-console-github-resolver@1.0.3","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"dist":{"shasum":"8bed95841107cf5fc1d181f17f92b21bbd030c8a","tarball":"https://registry.npmjs.org/@api-components/api-console-github-resolver/-/api-console-github-resolver-1.0.3.tgz","fileCount":15,"integrity":"sha512-iCISTlLM6wr5dwJ/SQa1/87qp+GWc9j9XldgsVJHRLXqB3/7rUbgFIrgXakBwUzH5rLIUbRc7/cQQuhjKBKsIQ==","signatures":[{"sig":"MEUCIDWS06OCWWgbw+VfLTB7Ml9H6VPqrZdOu/SgtPFUcz/iAiEAjpZmOLY9UU7sV1/EmVM8sYEq+Zdnf3RzTzYwp9mMcqg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKsCJCRA9TVsSAnZWagAA0icP/0cutf5nL2KZiyH+cRqO\nd7YQpOOpQ9rrIjuend4KqaYEMJL0wkZgnxgc/TYr+iZeNnu6971GLEZ5wyJn\nvk4lfbWzpz0LhFPrET7pGK0CBGxI30R7/Z7RDokXsI634YGpYwPzxpk3ZDFE\nHHEQvflVaQedatHFbBan4f0fksNWQcLfnsi9OrC+lDBJk5hZs56JlGZx8AWh\nnQQcyOYxr4x6Lcb1N/C8Oq6ozzNdz5UfqJcDxs9ez4s5wW4QjsbxmS+k22pV\nWzjwOO1Wrlu2OLneIkKVKNrLrmsfIXxd5wkq0ZTKHxl8Halx2gUBhxU+582w\nKwEpty6x6+b71ji5Wc6pBs7D+d5o/rAbQNuaZoYo9/5aeFIvZoDDwSgjIZXF\nIXbN3/Nu1H4oUC/24WcqiGlRaEQpQrzloLvqFEMtv6S4cHVx/TRFczoAV3SF\nBuRnzdSHN6aXk4pLhj16qS1ZwiuJucGu2yfwT/+M7Bp5AlWSFQkpmILQoRNb\nDXU0QqXTyya/hBXepI9YdPDrtftevCK2WgXcpdyOs50pjtOZg1RyQekTg89j\ns7eG8ZJxvF0KGQw3NWyt/Ecfh20GyPkakfXisiLD4dKTQ4qCJ+BDBQh76cob\ndFxJpcvY5CP4esA34ZBYCVzEQHiKPMYQNBZwogZ6eQnICNXmEzk+nGzP32c2\nDaQN\r\n=k/fo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","engines":{"node":">=6.5.0"},"gitHead":"0666ba506b47e15ad11f3041a6b95268d9fc34aa","scripts":{"test":"mocha 'test/*.test.js' --reporter spec","cover":"nyc --reporter=html --reporter=text mocha test/*.test.js"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"_npmVersion":"6.5.0","description":"Gets information about Mulesoft's API console releases.","directories":{},"_nodeVersion":"8.11.2","dependencies":{"winston":"3.1.0","fs-extra":"7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.1.0","chai":"^3.5.0","mocha":"^5.2.0","sinon":"^5.0.10"},"_npmOperationalInternal":{"tmp":"tmp/api-console-github-resolver_1.0.3_1546305673409_0.3422360318128699","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@api-components/api-console-github-resolver","version":"1.0.4","keywords":["api-console","builder","node","github","release"],"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","_id":"@api-components/api-console-github-resolver@1.0.4","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"dist":{"shasum":"746471509ec2f54f7bcc1e12473301ef5c0af32f","tarball":"https://registry.npmjs.org/@api-components/api-console-github-resolver/-/api-console-github-resolver-1.0.4.tgz","fileCount":15,"integrity":"sha512-PrG3qvEEbGl24AvNDQUJne9S/OQSxwoEwjCgvRt0xo6LXglrYl3g8JfVio5gCn04LsSSqkjTrJpROUoUuRqkiA==","signatures":[{"sig":"MEQCIGtAX6MgBXor04UbO0C6Fpg5DyZDkdW62DUioKznc7EUAiBMhhx8yRCABmnjoX6EFhTky15BgyZTijNnl4znk/3ivw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7uUQCRA9TVsSAnZWagAARNQP/RhOFr4IwqIpPGQBecLk\n6yuc5v5My7QSCQcYptFaMeyD/7rAZdd0kIpd/C2gWCYqINafpI2NLLR0EtK5\nFIJJLK1un9/AIns9/XplQiYu0bHAGF9VPlZ2ao8QgORH59kSEoRAwYFCzhKe\nQVzhTSwt+KLcuGmTwYAdjwl8SPbEZgqyLPuhT8BZjPXdY7Ln/bCbjdHgvpwW\nTf6J9vIvf9j7VivXidrrjYnBlevmw7z9DD4NGZOm2bqx4ohd0//QcraGkhB9\ndns8vLZbaR0DvMCl+68vuUhTv9WwtaWVEgO3rG+3asHcfgDQa8HxGg0SXwiY\nEBejC+mmZadFqcTW4L2OEbMRCwZO4rWjp08WAc3MLB/d4ytCwuNYawZTXHSw\nUFaGA1PqowdfZPCOGGOQqatTkPxVHKx/PGoQbMCedD/E5fy7YxempV4jaCAQ\n2sgXEpyTupDLwGOBv2bMZOn6+/MFoe7mIr5nkdlVGw5z8C6wCNioIcaCAOlu\nswQ9uDO8p6whkO0Ps9GTfy6vT6OuHB5cyIUh/ucqYWquxlRfFMzFsq8noInp\nr6+GeTB4Hd3xQZehMx6chnLVDThKjsYZmUBOHjiS8UI6+k1OUqCqJcI7WE5h\nIAHgkxxKomyxMrnkSRzyvQ37WIax26Eat1rHOP5BneshG1GBvvXFnYiTeWax\nBC6u\r\n=C65i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","engines":{"node":">=6.5.0"},"gitHead":"332f9ee05a2041f8772c41d319e8cd667c2c64db","scripts":{"test":"mocha 'test/*.test.js' --reporter spec","cover":"nyc --reporter=html --reporter=text mocha test/*.test.js"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"_npmVersion":"6.9.0","description":"Gets information about Mulesoft's API console releases.","directories":{},"_nodeVersion":"10.14.0","dependencies":{"winston":"3.1.0","fs-extra":"7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^3.5.0","mocha":"^5.2.0","sinon":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/api-console-github-resolver_1.0.4_1559160079871_0.27957581792271546","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@api-components/api-console-github-resolver","version":"2.0.0","keywords":["api-console","builder","node","github","release"],"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","_id":"@api-components/api-console-github-resolver@2.0.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"dist":{"shasum":"3ccf0d8f35d1c6301c0428a40c787c9abc630cc9","tarball":"https://registry.npmjs.org/@api-components/api-console-github-resolver/-/api-console-github-resolver-2.0.0.tgz","fileCount":16,"integrity":"sha512-qS+qZpY5wP0nRJtUPOxT+/t+wNlSGjK2hwsXwOqQuQQ/N5Q5+5bZRYH9awxd8Poecv1Jzyztl+gNtZTUoN+Ltg==","signatures":[{"sig":"MEYCIQDgV//N1Wcu4+4OIyOOSqatuGRtJ3yoOYqbPjoFPu8S9wIhAOh1iAR68yPYNvpk1j5F0K5L4WbcVVHJrR4o8sY492NV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGPZSCRA9TVsSAnZWagAAKq8P/1dMWd9GldrQcZ1VJi97\nm5xpbsH2gCfhICofC3Iohh0fyKKauPW7a+GN3Rm1ac4jjXc1rW+zBUb2Jxe/\nnaWAiMVgcCyRpNwmk1K4XgDatubYfoau1IJdIVl/fUZBqA3RpLR/zyIqo/48\nCfaM4vGJ1ONDt9X1D7F70129FKYqgfz9y6xaafsz3x0if2wVCygbB8PZ7LDm\nMxBRqVvvmiKtHetrS3VubBQeY0mqGH1Lz6c5kzSwdUaCE8PqEqpziUeyLqvD\nhxgtumg5UwucVJGuk/jYLZ53ywNNtarCV/FZG+z4fIehHdzD2oH7v2UJwNxn\nzYHpPcLmpvQTNqSOvujz1rp91c+E1Dd06CUZMAd9ucfeLTjhbt5OjUx2Hld8\nAsr55hcbGd23WczVKPl1RxpcE/HRGBa8V4wFP4Uk50f7iVnYC+tEhcSySXtk\nSNdIhDZCikjr6ysHGby1S5MkRFHkZo3xOxT3xYwL08+5wOCH4ZHctYaFTpRg\nJmDxvfema2IuPWbAa8QdxmUPmTrA8PH6pn1WKWEV3tNt6SlthU9bOmUmL4Di\nS6X2j3sz3Jg3oXGRgP+oJjBW/Ygla88fJ3tNzPpEg1jgBRGCgxmLP63ryk8W\nW20JHSIjZ6lhijnni0qN6IzhysPJT8eMYKdRCgkJjP9iz/YaCaqpb9c8Z9Dv\nML0V\r\n=p7jy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"main.js","engines":{"node":">=12.0.0"},"gitHead":"0e00b0e29460e123192b350b4124d5d107291a44","scripts":{"test":"mocha 'test/*.test.js' --reporter spec","cover":"nyc --reporter=html --reporter=text mocha test/*.test.js"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"_npmVersion":"6.13.4","description":"Gets information about Mulesoft's API console releases.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.16.0","dependencies":{"esm":"^3.2.25","winston":"^3.2.1","fs-extra":"^8.1.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","chai":"^4.2.0","husky":"^4.0.4","mocha":"^7.0.0","sinon":"^8.0.4","lint-staged":"^9.5.0","@commitlint/cli":"^8.3.4","@commitlint/config-conventional":"^8.3.4","@advanced-rest-client/eslint-config":"^1.1.4","@advanced-rest-client/prettier-config":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/api-console-github-resolver_2.0.0_1578694226420_0.41721007196342796","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-10-31T22:35:58.823Z","modified":"2026-04-07T19:29:37.165Z","1.0.1":"2018-10-31T22:35:58.975Z","1.0.2":"2018-11-02T23:03:08.394Z","1.0.3":"2019-01-01T01:21:13.513Z","1.0.4":"2019-05-29T20:01:20.011Z","2.0.0":"2020-01-10T22:10:26.601Z"},"bugs":{"url":"https://github.com/mulesoft-labs/api-console-github-resolver/issues"},"author":{"name":"Pawel Psztyc, Advanced Rest Client Authors"},"license":"Apache-2.0","homepage":"https://github.com/mulesoft-labs/api-console-github-resolver#readme","keywords":["api-console","builder","node","github","release"],"repository":{"url":"git+ssh://git@github.com/mulesoft-labs/api-console-github-resolver.git","type":"git"},"description":"Gets information about Mulesoft's API console releases.","maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"# api-console-github-resolver\n\n[![Build Status](https://travis-ci.org/mulesoft-labs/api-console-github-resolver.svg?branch=master)](https://travis-ci.org/mulesoft-labs/api-console-github-resolver)\n\nA npm module to get information about Mulesoft's API console release.\n\nThis module is mainly used in the [@api-components/api-console-builder](https://github.com/mulesoft-labs/api-console-builder).\n\n## API\n\nShorthand functions:\n\n-   `latestInfo(logger)` -> `new GithubResolver#getLatestInfo()`\n-   `tagInfo(tag, logger)` -> `new GithubResolver#getTagInfo(tag)`\n-   `releasesInfo(logger)` -> `new GithubResolver#getReleasesList()`\n\nThe module exposes 4 classes:\n\n-   [Transport](lib/Transport.js)\n-   [GithubResolver](lib/GithubResolver.js)\n-   [GithubResolverOptions](lib/GithubResolverOptions.js)\n-   [GithubCache](lib/GithubCache.js)\n\n### Example\n\n```javascript\nimport { latestInfo } from '@api-components/api-console-github-resolver';\n\nconst winstonLogger = new winston.createLogger({...});\nconst info = await latestInfo(winstonLogger);\nconsole.log(info);\n```\n\nequivalent to\n\n```javascript\nimport { GithubResolver }  from '@api-components/api-console-github-resolver';\n\nconst resolver = new GithubResolver({\n  logger: winstonLogger\n});\nconst info = await resolver.getLatestInfo();\nconsole.log(info);\n```\n\n### Transport\n\nGitHub transport class.\nThe transport is based on the HTTPS protocol.\n\n#### `get(resource, headers)`\n\nGets a resource from given location. This function fallows redirects.\n\n**resource** `String` - URL to the resource.\n\n**headers** `Object` - A list of headers to send.\n\n##### Returns `<Promise>`\n\nA promise resolved to a JavaScript `Object` if compatible content type is detected or to `Buffer` otherwise.\n\n#### Example\n\n```javascript\nimport { Transport } from '@api-components/api-console-github-resolver';\n\nconst winstonLogger = new winston.createLogger({...});\nconst transport = new Transport(winstonLogger);\nconst response = await transport.get('https://...', {'etag': 'abc'});\nconsole.log(response);\n```\n\n### GithubResolver\n\nA class to resolve GitHub repositories versions. It allows to get latest release\nversion and the url to the release's zip file or list available versions.\n\n#### `getLatestInfo()`\n\nGets information about latest release.\n\n##### Returns `<Promise>`\n\nPromise resolved to a JavaScript object with the response from GitHub.\n\n#### `getReleasesList()`\n\nGets information about releases.\nGitHub allows 30 items per page by default and this is exactly how much you\nwill get when calling this function.\n\n##### Returns `<Promise>`\n\nPromise resolves to an array of releases information.\n\n#### `getTagInfo(tag)`\n\nGets information about tagged release.\n\n**tag** `String` - Release tag name\n\n##### Returns `<Promise>`\n\nPromise resolved to an `Object` with release information.\n\n## GitHub rate limit\n\nGitHub allows to make up to 60 requests per hour. To increate the limit you can\nuse [GitHub personal token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) as an option passed to the `ApiConsoleGithubResolver` class constructor.\n\n### Example\n\n```javascript\nimport { GithubResolver } from '@api-components/api-console-github-resolver';\n\nconst TOKEN = 'ABC';\nconst resolver = new GithubResolver({\n  token: TOKEN\n});\nconst info = await resolver.getLatestInfo();\nconsole.log(info);\n```\n\nModule's shorthand functions reads `GITHUB_TOKEN` environmental variable and\nsets it as a configuration option by default.\n\n### Example\n\n```javascript\n// index.js\nimport { latestInfo } from '@api-components/api-console-github-resolver';\n\nconst info = await latestInfo();\nconsole.log(info);\n```\n\n```shell\n$ export GITHUB_TOKEN=\"ABC\"\n$ node index.js\n```\n","readmeFilename":"README.md"}