Follow Twitch conversations using Chatterino2, a chat client that works outside the main site interface.
tmi.js
Build Twitch Messaging Interface integrations in JavaScript with the tmi.js library.

About tmi.js
tmi.js is a JavaScript library for the Twitch Messaging Interface. It allows a client to connect with a bot username and OAuth token, join specified channels, listen for chat messages, and send replies. It can be installed with npm for Node.js and used as a prebuilt script in the browser, with TypeScript definitions available in a separate package.
Key features
- Connect with bot username and OAuth token
- Join listed channels and receive chat messages
- Send channel messages in response to commands
- Enable debug output through client options
- Install for Node.js with npm i tmi.js
- Load prebuilt script that exposes window tmi
- Open source with MIT license
- Supports Node.js and browser use
- Includes example for listening and replying to messages
tmi.js at a glance
- Website
- github.com/tmijs/tmi.js
- Category
- Social & Communities › Twitch Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
tmi.js alternatives
Tools and sites you could use instead, ranked by how closely they match.
Follow Twitch conversations using Chatterino7, a chat client that works outside the main site interface.
Avoid Twitch ads by retrieving video playlists from Russia, as described by luminous-ttv.
The Twitch CLI provides command-line tools for developing applications with Twitch.
Twitch Lurker opens a favorite stream automatically when the streamer goes live.
ComfyJS provides a JavaScript library that connects Node.js and browser apps with Twitch chat.
Popular in Twitch Tools
Well-known listings from the same topic.
tmi.js FAQ
How do I install tmi.js for Node.js?
How do I connect to a Twitch channel?
Where are TypeScript type definitions available?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












