MCPcopy Index your code
hub / github.com/Streamerbot/client

github.com/Streamerbot/client @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
89 symbols 250 edges 53 files 37 documented · 42%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Streamer.bot Client

TypeScript client for interacting with the Streamer.bot WebSocket API

npm (scoped) npm docs

Full Documentation

🌈 Demo

All functionality on Streamer.bot Toolkit is utilizing this client library 😍

📦 Installation

Package Manager

yarn add @streamerbot/client

npm install @streamerbot/client

pnpm install @streamerbot/client

CDN / Browser

<script src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>

🦄 Basic Usage

import { StreamerbotClient } from '@streamerbot/client';

// Create a new client with default options
const client = new StreamerbotClient();

// Subscription will automatically be added to client with your listener function
client.on('Twitch.ChatMessage', (data) => {
  console.log('Twitch Chat Message Received!', data);
});

Check out the docs for more usage examples.

🌸 Thanks

Huge thanks to nate1280 for creating Streamer.bot!

👨‍🚀 Contributors

Whipstickgostop

📄 License

MIT License © 2023-Present Whipstickgostop

Extension points exported contracts — how you extend this code

LoggerOptions (Interface)
(no doc)
packages/client/src/utils/logger.ts

Core symbols most depended-on inside this repo

debug
called by 24
packages/client/src/utils/logger.ts
warn
called by 24
packages/client/src/utils/logger.ts
disconnect
called by 8
packages/client/src/ws/StreamerbotClient.ts
error
called by 7
packages/client/src/utils/logger.ts
on
called by 6
packages/client/src/ws/StreamerbotClient.ts
log
called by 5
packages/client/src/utils/logger.ts
verbose
called by 4
packages/client/src/utils/logger.ts
connect
called by 4
packages/client/src/ws/StreamerbotClient.ts

Shape

Method 54
Function 30
Class 4
Interface 1

Languages

TypeScript100%

Modules by API surface

packages/client/src/ws/StreamerbotClient.ts47 symbols
packages/client/src/utils/logger.ts12 symbols
packages/vue/src/composables/useStreamerbot.ts9 symbols
packages/client/src/ws/util/websocket.util.ts7 symbols
apps/toolkit/src/stores/streamerbot.store.ts5 symbols
examples/nodejs/index.js3 symbols
packages/vue/src/composables/useGlobalVariable.ts2 symbols
packages/vue/src/index.ts1 symbols
apps/toolkit/src/plugins/webfontloader.ts1 symbols
apps/docs/app/composables/useSeo.ts1 symbols
apps/docs/app/composables/useLinks.ts1 symbols

For agents

$ claude mcp add client \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact