New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@bean-tools/voicemod-websocket

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bean-tools/voicemod-websocket

Websocket implementation for the Voicemod Control API

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
1
Created
Source

voicemod-websocket

TypeScript Websocket Class for Voicemod's Control API. For an overview of the Control API, check out the Control API documentation.

Quickstart

You will need an API key and a running Voicemod.

To create a connection, run:

import { VoicemodwebSocket } from "@bean-tools/voicemod-websocket";

const voicemod = new VoicemodWebSocket();
voicemod.connect("localhost", "aaaaaa-123456");

// Your logic and listeners go here

voicemod.disconnect();

Events

You can find Events you can listen on in the Control API documentation.

They are mapped to the EventTypes type.

You can listen to events with the on() method, i.e.:

voicemod.on("VoiceChanged", (voice) => {
  console.log("Voice changed to", voice.friendlyName);
});

Keywords

voicemod

FAQs

Package last updated on 14 Jan 2024

Did you know?

Socket

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.

Install

Related posts