
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@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.
The npm package @distube/soundcloud receives a total of 864 weekly downloads. As such, @distube/soundcloud popularity was classified as not popular.
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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.