Home
Softono
twurple

twurple

Open source MIT TypeScript
741
Stars
112
Forks
12
Issues
10
Watchers
1 month
Last Commit

About twurple

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

Platforms

Web Self-hosted

Languages

TypeScript

Links

Twurple

GitHub license npm version PRs welcome

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:

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:

If you're getting stuck...

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

Special thanks