mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-28 00:56:23 +00:00
chore(docs): Minor update (#502)
* Updated documentation example to matche syntax of existing parsers. * Changed from require since package is setup as module.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { Innertube, UniversalCache } = require('youtubei.js');
|
||||
import { Innertube, UniversalCache } from 'youtubei.js';
|
||||
|
||||
(async () => {
|
||||
const yt = await Innertube.create({
|
||||
|
||||
Reference in New Issue
Block a user