mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Changed import for esm
This commit is contained in:
@@ -45,7 +45,7 @@ const { video_basic_info, stream } = require('play-dl');
|
|||||||
|
|
||||||
**ES6 modules:**
|
**ES6 modules:**
|
||||||
```ts
|
```ts
|
||||||
import * as play from 'play-dl'; // Everything
|
import play from 'play-dl'; // Everything
|
||||||
|
|
||||||
import { video_basic_info, stream } from 'play-dl'; // Individual functions
|
import { video_basic_info, stream } from 'play-dl'; // Individual functions
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user