{"id":13758386,"url":"https://github.com/twurple/twurple","last_synced_at":"2026-03-05T02:02:39.208Z","repository":{"id":38819875,"uuid":"96012614","full_name":"twurple/twurple","owner":"twurple","description":"Interact with Twitch's API, chat and subscribe to events via PubSub and EventSub.","archived":false,"fork":false,"pushed_at":"2026-01-13T02:02:08.000Z","size":9152,"stargazers_count":722,"open_issues_count":14,"forks_count":110,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-13T04:14:40.173Z","etag":null,"topics":["api","api-client","chat-bot","chatbot","eventsub","extension","pubsub","tmi","twitch","twitch-api","twitch-chat","twitch-extension","webhooks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twurple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"d-fischer","custom":"paypal.me/dfischerdev"}},"created_at":"2017-07-02T09:02:38.000Z","updated_at":"2026-01-13T02:02:12.000Z","dependencies_parsed_at":"2023-10-16T09:50:22.968Z","dependency_job_id":"78b323ff-6020-4dc5-a449-be4d3e1c58e6","html_url":"https://github.com/twurple/twurple","commit_stats":{"total_commits":2235,"total_committers":69,"mean_commits":"32.391304347826086","dds":"0.34765100671140936","last_synced_commit":"d0786a71de3816b9d9c3a33684b49083805e9f22"},"previous_names":["d-fischer/twitch"],"tags_count":573,"template":false,"template_full_name":null,"purl":"pkg:github/twurple/twurple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twurple%2Ftwurple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twurple%2Ftwurple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twurple%2Ftwurple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twurple%2Ftwurple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twurple","download_url":"https://codeload.github.com/twurple/twurple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twurple%2Ftwurple/sbom","scorecard":{"id":315312,"data":{"date":"2025-08-11","repo":{"name":"github.com/twurple/twurple","commit":"33cecca4a1fa4f753101a5591fcab5209f6f9b9b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Code-Review","score":4,"reason":"Found 12/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/node.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"8 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/twurple/twurple/node.yml/main?enable=pin","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (12) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T00:04:18.679Z","repository_id":38819875,"created_at":"2025-08-18T00:04:18.679Z","updated_at":"2025-08-18T00:04:18.679Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30106143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","chat-bot","chatbot","eventsub","extension","pubsub","tmi","twitch","twitch-api","twitch-chat","twitch-extension","webhooks"],"created_at":"2024-08-03T13:00:29.096Z","updated_at":"2026-03-05T02:02:39.203Z","avatar_url":"https://github.com/twurple.png","language":"TypeScript","funding_links":["https://github.com/sponsors/d-fischer","paypal.me/dfischerdev"],"categories":["Libraries","TypeScript"],"sub_categories":["JavaScript (Node.js)"],"readme":"# Twurple\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/twurple/twurple/blob/main/LICENSE)\n[![npm version](https://img.shields.io/npm/v/@twurple/auth.svg?style=flat)](https://www.npmjs.com/package/@twurple/auth)\n![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)\n\nA set of libraries that aims to cover all existing Twitch APIs.\n\n- Query the Helix API\n- Build a chat bot\n- React to custom redemptions, subscriptions, follows and much more using PubSub and EventSub\n- Do all this without caring about the expiry of your access tokens - **we can refresh them automatically**\n\n## Installation\n\nTo add Twurple to your project, just execute:\n\n\tnpm i @twurple/auth\n\t# or\n\tyarn add @twurple/auth\n\t# or\n\tpnpm install @twurple/auth\n\n## Documentation\n\nA good place to start with this library is the [documentation](https://twurple.js.org)\nwhich also includes a complete reference of all classes and interfaces, as well as changes and deprecations between major versions.\n\n## Additional packages\n\nThe mentioned `@twurple/auth` package only provides authentication functionality. All the other things are located in separate packages:\n\n- [@twurple/api](https://npmjs.com/package/@twurple/api) - make calls to the Helix API\n- [@twurple/chat](https://npmjs.com/package/@twurple/chat) - connect to and interact with Twitch Chat\n- [@twurple/eventsub-http](https://npmjs.com/package/@twurple/eventsub-http) - listen to events using EventSub over HTTP/WebHooks\n- [@twurple/eventsub-ws](https://npmjs.com/package/@twurple/eventsub-ws) - listen to events using EventSub over WebSockets\n\n## If you're getting stuck...\n\nYou can join the [Twitch API Libraries Discord Server](https://discord.gg/b9ZqMfz) and ask in `#twurple` for support.\n\n## Special thanks\n\n- [discord.js](https://discord.js.org) for major inspiration on the structure of the libraries (or, as it was back then, *the library*)\n- [All the people who contributed to Twurple](https://github.com/twurple/twurple/graphs/contributors)\n- My [sponsors](https://github.com/sponsors/d-fischer) (maybe you want to become one too?)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwurple%2Ftwurple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwurple%2Ftwurple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwurple%2Ftwurple/lists"}