
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
tts-extractor
Advanced tools
This is a custom extractor for discord-player that allows you to use Google's Text-to-Speech API to convert text into audio.
npm install tts-extractor
const { Player } = require("discord-player");
const { TTSExtractor } = require("tts-extractor");
// Or
import { TTSExtractor } from "tts-extractor";
const player = new Player(client, {});
await player.extractors.register(TTSExtractor, { /* options */ });
To call it, you will need to use the tts
protocol in your search query.
For example:
const query = "Never gonna give you up";
player.play(voiceChannel, `tts:${query}`);
Option | Type | Default | Description |
---|---|---|---|
language | string | "en" | The language to use for the TTS query. |
slow | boolean | false | Whether to use slower TTS speed. |
FAQs
A text-to-speech extractor for discord-player
We found that tts-extractor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.