{"_id":"twitch-webhook","_rev":"27-a7f9ebf76b511f6b2ec24550425470aa","name":"twitch-webhook","description":"A Node JS library for new Twitch Helix API Webhooks","dist-tags":{"latest":"1.2.4"},"versions":{"0.9.0":{"name":"twitch-webhook","version":"0.9.0","description":"A Node JS library for new Twitch Helix API Webhooks","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"node-twitch-webhook"},"keywords":["node","twitch","helix","webhook"],"author":{"name":"DaniilShev","email":"daniilshev@outlook.com"},"license":"MIT","dependencies":{"bl":"^1.2.1","is-absolute-url":"^2.1.0","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"eslint-plugin-mocha":"^4.11.0","mocha":"^4.0.1"},"gitHead":"cdf31204505f7a69c767e78b03c05fab77c07944","_id":"twitch-webhook@0.9.0","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-2m0jcl5vEMKailFieR7hyFz5NqWe1KvmBuqnqA5toehfj6hL1HaGAs/pRKzpNEnGuwjljlOjZ0Dt4R3s46pulg==","shasum":"3a2e88438a1b065f5a6f66ea13672e2602048178","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-0.9.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc+qK9iE3VGdB8CjiUQF0vMVoo8NZju8OzqTVuhyXiagIgDAMrytDOBTwgUBzdvjwUF/UtHbO/hep/ZTsAUkTYjKs="}]},"maintainers":[{"name":"daniilshev","email":"daniilshev@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-0.9.0.tgz_1514654635516_0.21918588690459728"}},"0.9.1":{"name":"twitch-webhook","version":"0.9.1","description":"A Node JS library for new Twitch Helix API Webhooks","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"node-twitch-webhook"},"keywords":["node","twitch","helix","webhook"],"author":{"name":"DaniilShev","email":"daniilshev@outlook.com"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"eslint-plugin-mocha":"^4.11.0","mocha":"^4.0.1"},"gitHead":"f9a388d674795b22535ad136d2a23d10f9dd2616","_id":"twitch-webhook@0.9.1","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-aRaBPFf8tl14nWzcWkzPX1rfc8iw7T3sc4/0cHCc6raXnxUcCmT7QmgCSBxCbbDRBICPQXitWF7R7iOV1CWaMg==","shasum":"950a4b978bab3da2651b90d939c30e403904bafe","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-0.9.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKD3w8YKruSIpsQYH2rmnDJmD1aUe2r/SeZ4L8NXwGsQIgPRdJgtkCGSQ28nCSAWNY1CNEtjAHGExVsztMi4mt+fU="}]},"maintainers":[{"name":"daniilshev","email":"daniilshev@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-0.9.1.tgz_1514655030744_0.8325090480502695"}},"1.0.0":{"name":"twitch-webhook","version":"1.0.0","description":"A Node JS library for new Twitch Helix API Webhooks","main":"index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"node-twitch-webhook"},"keywords":["node","twitch","helix","webhook"],"author":{"name":"DaniilShev","email":"daniilshev@outlook.com"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"eslint-plugin-mocha":"^4.11.0","jsdoc":"^3.5.5","mocha":"^4.0.1","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"203b3db2f0e18e325109ce79150a4cb907ce1945","_id":"twitch-webhook@1.0.0","_shasum":"6b249ea67be3ba6388e1a8325864133f14d650ec","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.2","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"shasum":"6b249ea67be3ba6388e1a8325864133f14d650ec","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.0.0.tgz","integrity":"sha512-TjZ38zKFrFYcZahyEty0nuQZWsfVCW1u/ekqvpoM7Z/q2u/seNMXuArOw4c92LXrzaB5AQaTAmCGxlDFyKJXoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICt/ivy5kHDkylBm2op9iz9YWaKKGko2+/YJF2AwDDBKAiEAk4nkdDEF5gw9ScQQq2TNXFZIQKigk8NFfiM/u/CH058="}]},"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.0.0.tgz_1514728388429_0.17553563229739666"}},"1.0.1":{"name":"twitch-webhook","version":"1.0.1","description":"A Node JS library for new Twitch Helix API Webhooks","main":"index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-plugin-mocha":"^4.11.0","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"e38ceb1aee3a15cde36edabe5132a6adcaf6b5ec","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-sO4Ya/u8p9sV0LY3auymxO8Jm1NjuOvNmRzWE6zYbCZyoF2w3V2MBFWTJr/SM3ZC9tp0cA/t0lkaQzg6MBowig==","shasum":"63ab98c969111babaf77e053a3c2992d73425cdf","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPxhz63Yq/LK1SqJoY+Hi17c3doKo4RRMF2T8IYhu+NgIgHQonR+Pwb4wTrdCZYSJtqwtKC7/S+tb4uQQ18vlN/RQ="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.0.1.tgz_1514757056035_0.710967839229852"}},"1.0.2":{"name":"twitch-webhook","version":"1.0.2","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-plugin-mocha":"^4.11.0","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"9d67494102c7ce91a77fe8075af1752ed1743d59","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"k-egor-smirnov","email":"k.egor.smirnov@gmail.com"},"dist":{"integrity":"sha512-5/XcYjAjZKUuYnvvOtY67LflYMVwqqnelNmNJYaycQJjcGIiQEm2sYZhFS8T415HvIwVVn8EbuCIaFpBjrqw8A==","shasum":"93dc9e08f2139e446899541cb7c7de287cd48380","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1YtCJq8C5UEDy3XtsGdi9CqQdtcB6h4mxP0/eEyvWbAiEAgkpW3bu+fjjErKnvH5nxCtfeXqnxV9SGBS/OzO4P2hw="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.0.2.tgz_1514815522349_0.9959765090607107"}},"1.1.0":{"name":"twitch-webhook","version":"1.1.0","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","parse-link-header":"^1.0.1","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-plugin-mocha":"^4.11.0","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"87ecbb52196e09e149c419b87c22fe8391471497","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-KygdlgVE/emgcOipYsHyFakWjj17iZDOBCCHcmSobPhvzcN15GVVunY0zqcbjoGcOst6/V4OB2ei4xdsLtnB3Q==","shasum":"ff3c01a0c5fb535c060fde81d44a4f6e85fd4dac","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHc6yEeYnYCHIhv42c+kqxzDeHoQEitaf+H7heEyHm7kAiADIA+pJhEZ3poGdKop0Bm0hv9K7h/8vsBrEnND6YtS4g=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.1.0.tgz_1514826587942_0.8670382350683212"}},"1.1.1":{"name":"twitch-webhook","version":"1.1.1","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","parse-link-header":"^1.0.1","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-plugin-mocha":"^4.11.0","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"5f43bd9f2410ba8b59b8ec196bce6a192c9ad75a","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-ZeluqC0orurwBZdXmv7ADn2QTqoQxaekkWuCF/ZGLpKiu5/eDWOz8GhFe6VpGAlygTIzlipwVtiBFWa3TDdOug==","shasum":"393e3a4b0b26f996d7e5987fd11db7f21858e84b","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv4s7YQN0hQgCJkiGt35bf/HvuIJH2uIgENBblFkEQ6QIhAPr6C1fmS4CmE9StV2Aa7HhQMWOUDcpDnk+xQP/PtUN4"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.1.1.tgz_1514830357020_0.11804346810095012"}},"1.1.2":{"name":"twitch-webhook","version":"1.1.2","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","parse-link-header":"^1.0.1","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-mocha":"^4.11.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"06a713ece488ee831710ca88d06a3511d718c6bd","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-ejl09dMlBy6T12es2l0fAfyxfJc77bUtp1giWBppWe/9E0vT1ery1OvTpkb6I7OODAOGjZHEclvF++XhKzDn+g==","shasum":"a1d77f61caebc28fbacb9070a6a5d7397ab633ec","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVqvI9chY4S4PYx8qEb4aD0xoWeDWq+8PHs9hbjKlvqAIhAOdzyIVVTVoF9VrHhqOm4RIr0IatCpIW3pFO+hVZ0Iv2"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.1.2.tgz_1514915501678_0.7577177425846457"}},"1.2.2":{"name":"twitch-webhook","version":"1.2.2","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k-egor-smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","parse-link-header":"^1.0.1","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-mocha":"^4.11.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"8a8f52e3680f607f2f949288374ab34e64bf96c7","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.2.2","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-N3c6xw9Y/MPfbduenKIYDzcfvMiKfBQlyQye1L6KrB3lZfUtYlC8gqb1Thx83fJmrAbe4desK5B6HGurIf1ebw==","shasum":"f8ab8fe88fee72d42517d8ca78e452794f450cf5","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.2.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuyvlcbuCcNOT3hExDdX9P8APeYiwjx1FyEoyGfKZiEQIhAKG+BfOWTIL8bn6pWl1vXmMR6Q5yWof5Ny53n9exOlzK"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.2.2.tgz_1514989352423_0.48838484985753894"}},"1.2.4":{"name":"twitch-webhook","version":"1.2.4","description":"A Node JS library for new Twitch Helix API Webhooks","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"standard && mocha","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"keywords":["node","twitch","helix","webhook"],"maintainers":[{"email":"k.egor.smirnov@gmail.com","name":"k.egor.smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"author":{"name":"Panishev Daniil"},"license":"MIT","dependencies":{"bluebird":"^3.5.1","is-absolute-url":"^2.1.0","parse-link-header":"^1.0.1","querystring":"^0.2.0","request":"^2.83.0","request-promise":"^4.2.2"},"devDependencies":{"coveralls":"^3.0.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-mocha":"^4.11.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","istanbul":"^0.4.5","jsdoc":"^3.5.5","mocha":"^4.0.1","mocha-lcov-reporter":"^1.3.0","standard":"^10.0.3"},"standard":{"ignore":["node_modules","test"]},"engines":{"node":">= 6.0.0"},"gitHead":"e6e13f00fb9ac3af5c89226a7bca4dbb7a386393","bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","_id":"twitch-webhook@1.2.4","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"daniilshev","email":"daniilshev@outlook.com"},"dist":{"integrity":"sha512-rDwz7HpPneL1wgyHplsUQt3Bk/asSALlXa/LKVuNbrnSB7C1enNqaQ5i/qY9Gp6TZdH0pRRz7miOkVmRZeTNsA==","shasum":"8d150f5b9a348715d46c93ea84cbb1a7c4d47df9","tarball":"https://registry.npmjs.org/twitch-webhook/-/twitch-webhook-1.2.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4/ReJ596ULP1XU731FxefKD4U3gLJasJO3eJBdN9kjAiEAx+TBOTB5RC7U9jOufCk3QkBqSqliZkFh+WsJkj4AZg4="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/twitch-webhook-1.2.4.tgz_1515874388867_0.7142791452351958"}}},"readme":"# Node.js Twitch Helix Webhooks\n\n[![Build Status](https://travis-ci.org/true-dubach/node-twitch-webhook.svg?branch=master)](https://travis-ci.org/true-dubach/node-twitch-webhook)\n[![Coverage Status](https://coveralls.io/repos/github/true-dubach/node-twitch-webhook/badge.svg?branch=master)](https://coveralls.io/github/true-dubach/node-twitch-webhook?branch=master)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![dependencies Status](https://david-dm.org/true-dubach/node-twitch-webhook/status.svg)](https://david-dm.org/true-dubach/node-twitch-webhook)\n[![devDependencies Status](https://david-dm.org/true-dubach/node-twitch-webhook/dev-status.svg)](https://david-dm.org/true-dubach/node-twitch-webhook?type=dev)\n[![Node version](https://img.shields.io/node/v/twitch-webhook.svg?style=flat)](http://nodejs.org/download/)\n[![Read the Docs (version)](https://img.shields.io/readthedocs/pip/stable.svg)](https://true-dubach.github.io/node-twitch-webhook/)\n[![https://nodei.co/npm/twitch-webhook.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/twitch-webhook.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/twitch-webhook)\n\nLittle Node.js module to interact with new [Twitch Helix API Webhooks](https://dev.twitch.tv/docs/api/webhooks-reference).\n\n## Install\n\n```bash\nnpm install --save twitch-webhook\n```\n\n## Usage\n\n_**Note**: Twitch will return old payload for \"users/follows\" topic\nif `{first: 1}` is not specified_\n\n```js\nconst TwitchWebhook = require('twitch-webhook')\n\nconst twitchWebhook = new TwitchWebhook({\n    client_id: 'Your Twitch Client ID',\n    callback: 'Your Callback URL',\n    secret: 'It\\'s a secret', // default: false\n    lease_seconds: 259200,    // default: 864000 (maximum value)\n    listen: {\n        port: 8080,           // default: 8443\n        host: '127.0.0.1',    // default: 0.0.0.0\n        autoStart: false      // default: true\n    }\n})\n\n// set listener for all topics\ntwitchWebhook.on('*', ({ topic, options, endpoint, event }) => {\n    // topic name, for example \"streams\"\n    console.log(topic)\n    // topic options, for example \"{user_id: 12826}\"\n    console.log(options)\n    // full topic URL, for example\n    // \"https://api.twitch.tv/helix/streams?user_id=12826\"\n    console.log(endpoint)\n    // topic data, timestamps are automatically converted to Date\n    console.log(event)\n})\n\n// set listener for topic\ntwitchWebhook.on('users/follows', ({ event }) => {\n    console.log(event)\n})\n\n// subscribe to topic\ntwitchWebhook.subscribe('users/follows', {\n    first: 1,\n    from_id: 12826 // ID of Twitch Channel ¯\\_(ツ)_/¯\n})\n\n// renew the subscription when it expires\ntwitchWebhook.on('unsubscibe', (obj) => {\n  twitchWebhook.subscribe(obj['hub.topic'])\n})\n\n// tell Twitch that we no longer listen\n// otherwise it will try to send events to a down app\nprocess.on('SIGINT', () => {\n  // unsubscribe from all topics\n  twitchWebhook.unsubscribe('*')\n\n  // or unsubscribe from each one individually\n  twitchWebhook.unsubscribe('users/follows', {\n    first: 1,\n    to_id: 12826\n  })\n\n  process.exit(0)\n})\n```\n\n## Documentation\n\n[API Reference](https://true-dubach.github.io/node-twitch-webhook)\n","maintainers":[{"email":"y.nikonov.roman@yandex.ru","name":"nic11"},{"email":"k.egor.smirnov@gmail.com","name":"k.egor.smirnov"},{"email":"daniilshev@outlook.com","name":"daniilshev"}],"time":{"modified":"2022-06-28T00:13:05.659Z","created":"2017-12-30T17:23:56.448Z","0.9.0":"2017-12-30T17:23:56.448Z","0.9.1":"2017-12-30T17:30:30.960Z","1.0.0":"2017-12-31T13:53:08.577Z","1.0.1":"2017-12-31T21:50:56.886Z","1.0.2":"2018-01-01T14:05:23.181Z","1.1.0":"2018-01-01T17:09:48.830Z","1.1.1":"2018-01-01T18:12:37.927Z","1.1.2":"2018-01-02T17:51:42.522Z","1.2.0":"2018-01-03T14:06:03.001Z","1.2.1":"2018-01-03T14:18:43.744Z","1.2.2":"2018-01-03T14:22:33.357Z","1.2.3":"2018-01-13T19:13:45.193Z","1.2.4":"2018-01-13T20:13:08.950Z"},"keywords":["node","twitch","helix","webhook"],"repository":{"type":"git","url":"git://github.com/true-dubach/node-twitch-webhook.git"},"author":{"name":"Panishev Daniil"},"license":"MIT","readmeFilename":"README.md","users":{"k-egor-smirnov":true,"daniilshev":true},"homepage":"https://github.com/true-dubach/node-twitch-webhook#readme","contributors":[{"name":"Egor Smirnov","email":"k.egor.smirnov@gmail.com"},{"name":"Roman Nikonov","email":"y.nikonov.roman@yandex.ru"}],"bugs":{"url":"https://github.com/true-dubach/node-twitch-webhook/issues"}}