docs(examples): add instructions

This commit is contained in:
Luan
2024-09-13 14:07:55 -03:00
parent e412527340
commit b7b680c4f1

25
examples/README.md Normal file
View 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
```