
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@distube/soundcloud
Advanced tools
A DisTube extractor plugin for supporting SoundCloud.
npm install @distube/soundcloud@latest
import { Client } from "discord.js";
import { DisTube } from "distube";
import { SoundCloudPlugin } from "@distube/soundcloud";
const client = new Client();
const distube = new DisTube(client, {
plugins: [new SoundCloudPlugin()],
});
const scPlugin = new SoundCloudPlugin();
scPlugin.search("A SoundCloud Playlist", "playlist", 3);
SoundCloudPluginOptions.clientId
[string] (optional): Your account's client id.SoundCloudPluginOptions.oauthToken
[string] (optional): Your account's oauth token. Used to fetch more data with SoundCloud Go+ account.clientId
and oauthToken
? See herenew SoundCloudPlugin({
clientId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
oauthToken: "0-000000-000000000-xxxxxxxxxxxxxx",
});
Searches for the given query on SoundCloud.
Parameters
query
[string] Search query.type
[string]: Type of results (track
or playlist
). Default is track
.limit
[integer]: Limit the results. Default is 10
.Returns a Promise<Song[]|Playlist[]>
Promise<Song[]>
if type
parameter is track
Promise<Playlist[]>
if type
parameter is playlist
FAQs
A DisTube extractor plugin for supporting SoundCloud.
We found that @distube/soundcloud demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.