Getting started
Installation
To add the authentication core and the chat client to your project, just execute:
yarn add twitch-auth twitch-chat-client
or using npm:
npm install twitch-auth twitch-chat-client
Importing the library
Using ES2015 modules:
import { ChatClient } from 'twitch-chat-client';
Using CommonJS:
const { ChatClient } = require('twitch-chat-client');