{"_id":"@agm-dev/twitch-login","_rev":"3-ae8a5caf73b550014d28d2fb3cf9af3c","name":"@agm-dev/twitch-login","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@agm-dev/twitch-login","version":"1.0.0","description":"Utilities to make login on Twitch","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"build":"rimraf lib && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"npm run build","test":"jest","test:coverage":"jest --coverage","dev":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/agm-dev/twitch-login.git"},"keywords":["twitch","login","authorization","OIDC","OAuth"],"author":{"name":"Adrian Gonzalo"},"license":"ISC","bugs":{"url":"https://github.com/agm-dev/twitch-login/issues"},"homepage":"https://github.com/agm-dev/twitch-login#readme","devDependencies":{"@types/jest":"^26.0.22","@types/node":"^14.14.37","jest":"^26.6.3","jest-localstorage-mock":"^2.4.9","nodemon":"^2.0.7","rimraf":"^3.0.2","ts-jest":"^26.5.4","ts-node":"^9.1.1","typescript":"^4.2.4"},"dependencies":{"idtoken-verifier":"^2.1.0"},"gitHead":"2b03493b00819e182eea87c1a214fb707db6752b","_id":"@agm-dev/twitch-login@1.0.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-OJh5eTy2YqnhBLE7zn5jL7K5vR7Mqz+Ie2sVu4mWH2ZQWG1/9mzbums0y7fx7n0Nvpb4mBtcQp2FGu1B5GSXQA==","shasum":"b39d3b8ef18df4929ae8504533da4311356555f2","tarball":"https://registry.npmjs.org/@agm-dev/twitch-login/-/twitch-login-1.0.0.tgz","fileCount":22,"unpackedSize":17723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcQXjCRA9TVsSAnZWagAA858P/1byX3xZfiMoc4bNygmA\nfZcQX8N0j1bzmvdCp41LkEGRm2Bfyb4ZS4bskYMefn2RYMFyNdvupXBBNNdc\nVj3+MWY4xK9c4+axvXwqE2ZK3FogIdMhJEe8/mls8rHLmkn0Ee5OnIDnG9g9\niYwxMjmYXKhd0pPznejiKqV2B18dDxo7nBb/Z7uJ/BtoV6hosP8PAZcxYiK0\n0J+SzrlU2n0r70pVOcU9OBMsUM6BmJ6Re1p6oghZV3+7g3fsnqC0CZHxPQyY\nZVOIdNaTro3InbDvE6OYbGiuW3hUKgK3mM1kCrLopd1S0laNybF3qSirWVp4\nvwpKU6lQ4XmB5w5QlhQe5lR9H+zJspEi0X4PV36yYq9o2BgtoZA6qNg+rZuV\nsvY8fA569LSVSQ7fEKyPKuS2oQuDVrw4EtZjU0Wn1C/IxZRg+cKJnpoC+SSw\nAjBNdeStasPWgPdv7uMsxEBiuZIWZmAtwsvzx9XuDwreTvyNtbm1xNvC/IqI\n6Uki0tMwWeQ+Gft5fB7Id3BeUA88CbT7/4PDredR1gdUnNG3ca//JIizDS4M\nJMZnkzasHE7jqDgTBcRXicKqWlJKGRcJmfVAqxDIBBKUQz2j/aObqVgJIHbg\nXe1LrEm9stM2BzVnkRBPKtKFkp/JVMtSZrdIPLgUwDwFM6rBAeh1I8AohTGv\nXgin\r\n=K3KX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHviBEMzRkCWE9gX7wZuac6jSfQgSXwe+w+dlDz3el3BAiEAuPj4iuhtBRfwtx6QYfe2+lSQEPR8EDCx/IOuZ/RkN0Q="}]},"_npmUser":{"name":"agm-dev","email":"adrian.registros@gmail.com"},"directories":{},"maintainers":[{"name":"agm-dev","email":"adrian.registros@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-login_1.0.0_1618019811405_0.3434575174691237"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agm-dev/twitch-login","version":"1.0.1","description":"Utilities to make login on Twitch","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"build":"rimraf lib && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"npm run build","test":"jest","test:coverage":"jest --coverage","dev":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/agm-dev/twitch-login.git"},"keywords":["twitch","login","authorization","OIDC","OAuth"],"author":{"name":"Adrian Gonzalo"},"license":"ISC","bugs":{"url":"https://github.com/agm-dev/twitch-login/issues"},"homepage":"https://github.com/agm-dev/twitch-login#readme","devDependencies":{"@types/jest":"^26.0.22","@types/node":"^14.14.37","jest":"^26.6.3","jest-localstorage-mock":"^2.4.9","nodemon":"^2.0.7","rimraf":"^3.0.2","ts-jest":"^26.5.4","ts-node":"^9.1.1","typescript":"^4.2.4"},"dependencies":{"idtoken-verifier":"^2.1.0"},"gitHead":"c9cae3afe07835cd7ac50a5146aa8f2d5610e002","_id":"@agm-dev/twitch-login@1.0.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-eTzP+2x7ACl8exBIeKypsW2DNCWfgBM3rPLECGnch05rALBoybfmnnV/IhlHWtcc/bxCdorCKh33JHTBmGrwEw==","shasum":"0d071058b1e2fd9045ed782542059ae057050296","tarball":"https://registry.npmjs.org/@agm-dev/twitch-login/-/twitch-login-1.0.1.tgz","fileCount":26,"unpackedSize":19113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcQzMCRA9TVsSAnZWagAAdAcP/3NIAIo8iEviJl7oCVfz\n5l2ZLKTmrVR66KG0Pkk6R3uoYxHA4ybe0WHT2NpTun7uw7pV3/NS+Yfq1xx4\nTVkloxm9BLbsuDnNmAJ0ejGf8MaGRv9/Mwh/auiph6GwIu+NhQTJM3K2Rtb+\n8mgIKbbgEs8hXtCWKFGf8dafkbk/mZ8fjosScGNomJK5jsoKjZ8dz1DnbKYX\nsqvj7SA1I1DgYQsVbptNvglVuN89ZtTRmmGv/rT2YSYcOskWcdXoR439xDvi\nIDwRdVISyzfNO4Sg02OD8x0xaUvxWuFASzodZeX4cKqDHu7EcWTySWGNcpXn\nBimznhAAA1SpgGnpqowdDToTbdfP52WnA18BJOTszQZ3c/ciUQIe0FYgWdj6\nWpLZBTXTgg/4LgkGXz+ASQEK2KNJPgwRlOA9DIMux7ODbgWK+PIAQ4rxj27t\nWF4edvuSdHSL44KJ/d3K8UVm49MB0L7M0Z4eTwTI3Z3CTgmuuhPVNVOTunkM\n+maQFc7ChKRBP7ClgBXYXnl4BbLccxsi/9BlGl9a2AMJ8blEItba+lmUEUOF\n9MRzWNECEIs35GjoaoGHnafIsTVyyjAqqlIp8OclTlSdLr5JJ5dtA/XoY4YL\nkuaP2+oTmIZ5bvPrVVJlMrsfRd6+YQ8i8xEqurA7vSffSkEfjoaKJrt4NvZI\nBVj3\r\n=Vgsp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC4KWXeTGNj/qXdOqOLfBgcn+n2F10ZehXNh9PNwSn1QIhAPcIUmA+cXTFIFcJeNEF0CrhmrgsEA3Tar1NmSU7f6/w"}]},"_npmUser":{"name":"agm-dev","email":"adrian.registros@gmail.com"},"directories":{},"maintainers":[{"name":"agm-dev","email":"adrian.registros@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-login_1.0.1_1618021580178_0.21087875579449378"},"_hasShrinkwrap":false},"1.0.2":{"name":"@agm-dev/twitch-login","version":"1.0.2","description":"Utilities to make login on Twitch","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"build":"rimraf lib && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"npm run build","test":"jest","test:coverage":"jest --coverage","dev":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/agm-dev/twitch-login.git"},"keywords":["twitch","login","authorization","OIDC","OAuth"],"author":{"name":"Adrian Gonzalo"},"license":"ISC","bugs":{"url":"https://github.com/agm-dev/twitch-login/issues"},"homepage":"https://github.com/agm-dev/twitch-login#readme","devDependencies":{"@types/jest":"^26.0.22","@types/node":"^14.14.37","jest":"^26.6.3","jest-localstorage-mock":"^2.4.9","nodemon":"^2.0.7","rimraf":"^3.0.2","ts-jest":"^26.5.4","ts-node":"^9.1.1","typescript":"^4.2.4"},"dependencies":{"idtoken-verifier":"^2.1.0"},"gitHead":"8ee1c29cbf0199a68880c0f02e9a8c959f2d198e","_id":"@agm-dev/twitch-login@1.0.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Li+M3PDKf5LCr/CJCdKdAnERTk6Qd9Rg+PeCvBp9YYJjOK/iPuPPYX79dTo1tr2VWeawULFO2qkcFSwO+5WTFA==","shasum":"9dd39c308d32f084e8a2c7b757e847d2d2835acd","tarball":"https://registry.npmjs.org/@agm-dev/twitch-login/-/twitch-login-1.0.2.tgz","fileCount":26,"unpackedSize":19513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgceotCRA9TVsSAnZWagAAR5AP/j9PeD6QEts0DtuFEj33\nAvOHDM3RHEi9AdjKRQvgjk6Sm5ESdVC0l/Cr6ONHslKl/+SbCGEE3N1TPeh3\nT58GO26qZCD+FHSCTD43/E8kdgTn39FQtdO7IzWcgKGrABjfUMl1CD6gcqan\n3wEAYUQPVHI/SNYrsyvLl8ToAylu1dc+eUrm91hlsuZmT0zOi30vU5ysEnk6\n1whodZ5Y76KTyAEd468hLYZbQEJOUaktzJmzLcuBTnNddXQrAEvD/Adj6e8J\nrd8V9T8WHNBqcYtxe6Ss0XbijBRmqqfZaHpMAPGsY/nhRYOns8ewVIzFYGCj\nM5itfIl4gEkGJ2l6YmZwx0islLzFi/odUfp5bhpe8+Mkim1a+Y//FYA4gmUX\nSD5g8rb9dgzT9SkRVdH23F1HT+ArdOe81r6gtz0FA3GLCQJ56NXjejAs4WgV\nr4vQgcLYflEfH8irPlQkdxcIE8lbQP4Qjoukn19hSOMfgprIHVMLVuQvm+66\nYEjHD9XPPhKf9HFbQ5Z4Q/CcNJ7seaxVAXptzKTQxJxvskQtdRxjju5XfeD5\n1SdWKNnqJ/aKz24p5b1Hc3N+vdyB85gxVGrOAdZ6wHYi7RybLbCoraWKAxqw\nJ8VehnViEXvdQCpaRR/jFJT+lYFfA6kJG2MKTy+p9J738Xw85iFE1LcCZIEk\nUFjf\r\n=AjaF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICswLZCclfhrWQJu+KKiWSUNU/st7U0itFY/zY6+6NdsAiEAxJynuTrdBw/ghKvd2/O3E7hnaXQIg8o6/asJekxfQW4="}]},"_npmUser":{"name":"agm-dev","email":"adrian.registros@gmail.com"},"directories":{},"maintainers":[{"name":"agm-dev","email":"adrian.registros@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-login_1.0.2_1618078252812_0.8808871543873451"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-10T01:56:51.335Z","1.0.0":"2021-04-10T01:56:51.576Z","modified":"2022-04-04T11:59:55.358Z","1.0.1":"2021-04-10T02:26:20.330Z","1.0.2":"2021-04-10T18:10:52.933Z"},"maintainers":[{"name":"agm-dev","email":"adrian.registros@gmail.com"}],"description":"Utilities to make login on Twitch","homepage":"https://github.com/agm-dev/twitch-login#readme","keywords":["twitch","login","authorization","OIDC","OAuth"],"repository":{"type":"git","url":"git+https://github.com/agm-dev/twitch-login.git"},"author":{"name":"Adrian Gonzalo"},"bugs":{"url":"https://github.com/agm-dev/twitch-login/issues"},"license":"ISC","readme":"# Twitch Chat Reader\n\nExports 3 methods that helps to implement [Twitch OIDC implicit code flow](https://dev.twitch.tv/docs/authentication/getting-tokens-oidc).\n\n## Installation\n\n```bash\nnpm install --save @agm-dev/twitch-login\n```\n\n## Methods\n\n| Method | Description |\n|-|-|\n| getTokenFromHash | Get's the tokens from url hash if it's there and removes it from url. |\n| tokenVerifier | Used to create a function that verifies a token acoording to the given configuration. |\n| twitchAuthUrl | Generates the Twitch authorization url for implicit flow. |\n","readmeFilename":"README.md"}