Neutered Puppy Masquerade

    @discord-player/downloader
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.1 • Public • Published

    Downloader

    Extractor for discord-player using youtube-dl.

    Installing

    npm i @discord-player/downloader

    Example

    General

    const downloader = require("@discord-player/downloader").Downloader;
    const fs = require("fs");
    const url = "https://soundcloud.com/dogesounds/alan-walker-feat-k-391-ignite";
    
    const stream = downloader.download(url);
    stream.pipe(fs.createWriteStream("./song.mp3"));

    With Discord Player

    const downloader = require("@discord-player/downloader").Downloader;
    
    player.use("YOUTUBE_DL", downloader); // enables youtube-dl extractor for discord-player

    Install

    npm i @discord-player/downloader

    DownloadsWeekly Downloads

    584

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    6.98 kB

    Total Files

    6

    Last publish

    Collaborators

    • snowflake7