Connect to and interact with Twitch chat (IRC) from Node.js or a browser. Control the delay in milliseconds between JOIN requests when using the channels array option. Minimum of 300 milliseconds. If the identity has special permission from Twitch for a higher join rate then you should implement your own calls to the client.join method. Disable receiving JOIN/PART events for other users. Good for decreasing network traffic when joining lots of channels or you don't care about this data. After a threshold per channel Twitch stops sending this data so it may not be necessary for all cases. Channels to automatically join upon connecting. The rate of joins is controlled by the options.joinInterval option. Automatically reconnect the client if it gets disconnected for any reason. Sometimes Twitch will request the client to reconnect and tmi.js will disconnect and reconnect even if this option is set to false.

Features

  • JavaScript package for Twitch Chat
  • Connect to and interact with Twitch chat
  • Connect from Node.js or a browser
  • You must use an authenticated client (via the identity option) to send messages to chat
  • Build yourself
  • Anonymous connection

Project Samples

Project Activity

See All Activity >

Categories

Chat, Libraries, Chatbot

License

MIT License

Follow tmi.js

tmi.js Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tmi.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Chat Software, JavaScript Libraries, JavaScript Chatbot Software

Registered

2022-01-13