mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
4e62bf7727f76ac8892f5e5332fefb1077fb937f
Bump @types/node from 16.11.11 to 17.0.6
Play-dl
A light-weight YouTube, SoundCloud, Spotify and Deezer streaming and searching library.
- Search by video, playlist/album, channel/artist
- Stream audio from YouTube and SoundCloud
Why play-dl ?
ytdl-core has some issues with miniget and also stream abort issues. On the other hand, youtube-dl is a perfect alternative but it takes time to launch. Hence, play-dl is created to avoid these issues along with providing comparatively faster performance than others.
Support
You can contact us for support on our chat server.
Installation
Node.js 16.0.0 or newer is required.
npm install play-dl@latest
pnpm add play-dl@latest
yarn add play-dl@latest
Importing
TypeScript:
import play from 'play-dl'; // Everything
import { video_basic_info, stream } from 'play-dl'; // Individual functions
CommonJS modules:
const play = require('play-dl'); // Everything
// Individual functions by using destructuring
const { video_basic_info, stream } = require('play-dl');
ES6 modules:
import play from 'play-dl'; // Everything
import { video_basic_info, stream } from 'play-dl'; // Individual functions
Documentation
Examples
Instructions
Languages
TypeScript
100%