mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-13 00:32:11 +00:00
docs(examples): add instructions
This commit is contained in:
25
examples/README.md
Normal file
25
examples/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
**NOTE:**
|
||||
Build the library first before running the examples!
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Browser Example
|
||||
|
||||
```bash
|
||||
cd examples/browser/web
|
||||
npm install
|
||||
npm run dev
|
||||
|
||||
# Proxy server
|
||||
deno run --allow-net --allow-read examples/browser/proxy/deno.ts
|
||||
```
|
||||
|
||||
## Downloader Example
|
||||
|
||||
```bash
|
||||
cd examples/downloader
|
||||
npm install
|
||||
npx tsx main.ts
|
||||
```
|
||||
Reference in New Issue
Block a user