/twitch-tools-js

A Twitch tools for events and chat

Primary LanguageJavaScript

Twitch Tools JS

Publish Package to npmjs.org

This project is a JavaScript tool designed to handle Twitch and chat events, as well as Twitch API calls. The tools are designed to be used directly in the browser through WebSocket connections.

Features

  • Twitch events (EventSub via WebSocket)
  • Chat events (IRC via WebSocket)
  • Twitch API calls

Installation

CDN

<script type="module" src="https://cdn.jsdelivr.net/npm/@traskin/twitch-tools-js@1.0/twitch-tools.js"></script>
<script type="module">
    import { Api, Chat, EventSub } from 'https://cdn.jsdelivr.net/npm/@traskin/twitch-tools-js@1.0/twitch-tools.js'
</script>

NPM

npm install @traskin/twitch-tools-js
<script type="module">
    import { Api, Chat, EventSub } from './node_modules/@traskin/twitch-tools-js/twitch-tools.js'
</script>

Usage

See our documentation.

Contributing

We welcome contributions to this project. Please feel free to fork the repository and submit a pull request.