Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@mixer/interactive-node
Advanced tools
A NodeJS and Browser compatible client for mixer.com's interactive 2 Protocol
A TypeScript, Node.js and Browser(JavaScript) compatible client for Mixer.com's interactive 2 Protocol.
For an introduction to interactive2 checkout the reference docs on the developers site.
You can use npm(recommended) or download a zip from the releases page.
<script src="dist/interactive.js"></script>
npm i --save @mixer/interactive-node
OAuth 2.0 is used for authentication. Valid bearer tokens can be passed in the Client.open
method.
For more information about Mixer's OAuth visit the OAuth reference page on our developer site.
<doctype html>
<html>
<head>
<title>Interactive 2</title>
</head>
<body>
<script src="js/interactive.js"></script>
<script src="js/app.js"></script>
</body>
</html>
const client = new interactive.GameClient();
client.open({
authToken: '<OAuth Token>',
versionId: 1234,
});
const interactive = require('@mixer/interactive-node');
const ws = require('ws');
interactive.setWebSocket(ws);
const client = new interactive.GameClient();
client.open({
authToken: '<OAuth Token>',
versionId: 1234,
});
import { GameClient, setWebSocket } from '@mixer/interactive-node';
import * as ws from 'ws';
setWebSocket(ws);
const client = new GameClient();
client.open({
authToken: '<OAuth Token>',
versionId: 1234,
});
Checkout our examples to get up to speed quickly!
Using Node.js? Clone this repository and run npm run build
and the examples will be converted to JavaScript for you!
Checkout our reference docs here.
To get a development environment setup:
npm install
npm run build
Thanks for your interested in contributing, checkout TODO.md for a list of tasks!
Open a Pull Request we'd love to see your contributions.
FAQs
A NodeJS and Browser compatible client for mixer.com's interactive 2 Protocol
The npm package @mixer/interactive-node receives a total of 7 weekly downloads. As such, @mixer/interactive-node popularity was classified as not popular.
We found that @mixer/interactive-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.