Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
beam-interactive-node2
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 beam-interactive-node2
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('beam-interactive-node2');
const ws = require('ws');
interactive.setWebSocket(ws);
const client = new interactive.GameClient();
client.open({
authToken: '<OAuth Token>',
versionId: 1234,
});
import { GameClient, setWebSocket } from 'beam-interactive-node2';
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.
2.8.2
FAQs
A NodeJS and Browser compatible client for mixer.com's interactive 2 Protocol
The npm package beam-interactive-node2 receives a total of 0 weekly downloads. As such, beam-interactive-node2 popularity was classified as not popular.
We found that beam-interactive-node2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.