node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »


Uneventful Twitch Message Interface

Npm Version Node Version

Node.js client for Twitch Message Interface based on promises and queues. Supports IRC v3 commands, clusters, secure WebSockets, promisified rate limiting. Also everything is promises.

import utmi from 'utmi';
const username = '3snow_p7im';
const password = 'oauth:123456789';
let client = await new utmi({username, password}).connect();
let channel = client.join('#'+username);
let message;
while (message = await channel.take()) {
  if (message.command === 'PRIVMSG') {
    let [where, what] = message.params;
    if (what.indexOf('Kappa') >= 0) {

See Also: tmi.js