chore(docs): update examples to reflect recent changes [skip ci]

This commit is contained in:
LuanRT
2023-02-26 20:28:16 -03:00
parent f4e0f30e6e
commit 0b1840a62c
10 changed files with 40 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ To use YouTube.js in the browser you must proxy requests through your own server
We'll use our own fetch implementation to proxy requests through our server. This is a simple example, but you can use any fetch implementation you want.
```ts
import { Innertube } from "youtubei.js/build/browser";
import { Innertube } from "youtubei.js/web.bundle.min";
const yt = await Innertube.create({
fetch: async (input, init) => {