/streamerbot-react

Simple React hook for streamerbot client integration

Primary LanguageTypeScript

Streamer.bot React

Full Documentation

🌈 Demo

No demo yet, but all functionality on Streamer.bot Toolkit is utilizing the vue client library, so you could check that and transform accordingly.

📦 Installation

Package Manager

yarn add @streamerbot/client streamerbot-react

npm install @streamerbot/client streamerbot-react

pnpm install @streamerbot/client streamerbot-react

🦄 Basic Usage

import { useStreamerbot } from 'streamerbot/react';

// Inside a React Component
export default function MyComponent() {
  const { client, data } = useStreamerbot();

  useEffect(() => {
    console.log('Data received from Streamer.bot Client!', data);
  }, [data]);

  return <div><h1>My Component</h1>
    <pre>{JSON.stringify(data, null, 2)}</pre>
  </div>;
}

Check out the docs for more usage examples.

🌸 Thanks

  • nate1280 for creating Streamer.bot
  • whipstickgostop for creating the vue client library which this is heavily based on

👨‍🚀 Contributors

bsides

📄 License

MIT License © 2025-Present bsides