Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

twurple

> 开发工具
Open source

Interact with Twitch's API, chat and subscribe to events via PubSub and EventSub.

744 stars0 likes4 views
WebsiteGitHub

About

Interact with Twitch's API, chat and subscribe to events via PubSub and EventSub.

Twurple

A set of libraries that aims to cover all existing Twitch APIs.

  • Query the Helix API
  • Build a chat bot
  • React to custom redemptions, subscriptions, follows and much more using EventSub
  • Do all this without caring about the expiry of your access tokens - we can refresh them automatically

Installation

To add Twurple to your project, just execute:

bash
npm i @twurple/auth
# or
yarn add @twurple/auth
# or
pnpm install @twurple/auth

Documentation

A good place to start with this library is the documentation which also includes a complete reference of all classes and interfaces, as well as changes and deprecations between major versions.

Additional packages

The mentioned @twurple/auth package only provides authentication functionality. All the other things are located in separate packages:

  • @twurple/api - make calls to the Helix API
  • @twurple/chat - connect to and interact with Twitch Chat
  • @twurple/eventsub-http - listen to events using EventSub over HTTP/WebHooks
  • @twurple/eventsub-ws - listen to events using EventSub over WebSockets

If you're getting stuck...

You can join the Twitch API Libraries Discord Server and ask in #twurple for support.

Special thanks

  • discord.js for major inspiration on the structure of the libraries (or, as it was back then, the library)
  • All the people who contributed to Twurple
  • My sponsors (maybe you want to become one too?)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptapiapi-clientchat-botchatbot

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具