
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@distube/soundcloud
Advanced tools
SoundCloud extractor plugin for DisTube.js.org.
youtube-dl
extractornpm install @distube/soundcloud@latest
const Discord = require("discord.js");
const client = new Discord.Client();
const { DisTube } = require("distube");
const { SoundCloudPlugin } = require("@distube/soundcloud");
const distube = new DisTube(client, {
plugins: [new SoundCloudPlugin()],
});
const { SoundCloudPlugin } = require("@distube/soundcloud");
SoundCloudPlugin.search("A SoundCloud Track"); // static method
// Returns an array of 10 DisTube's Songs
const scPlugin = new SoundCloudPlugin();
scPlugin.search("A SoundCloud Playlist", "playlist", 3); // class method
// Returns an array of 3 DisTube's Playlist
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.new SoundCloudPlugin({
clientId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
oauthToken: "0-000000-000000000-xxxxxxxxxxxxxx",
});
static
and class
method)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
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.