Skip to content

Commit 21f3417

Browse files
authored
1 parent 9239033 commit 21f3417

File tree

4 files changed

+24
-42
lines changed

4 files changed

+24
-42
lines changed

web-transport-ws/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,29 @@ npm install
4141
npm run build
4242
```
4343

44+
### Usage
45+
```bash
46+
cargo run --example server
47+
```
48+
49+
```bash
50+
bun examples/client.ts
51+
```
52+
53+
```bash
54+
deno -A --sloppy-imports examples/client.ts
55+
```
56+
57+
#### Bundle TypeScript source to single JavaScript file
58+
```bash
59+
bun build --target=node --outfile=examples/client.js examples/client.ts
60+
```
61+
62+
```bash
63+
node examples/client.js
64+
```
65+
66+
4467
## License
4568

4669
MIT OR Apache-2.0

web-transport-ws/package-lock.json

Lines changed: 1 addition & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web-transport-ws/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"devDependencies": {
2424
"typescript": "^5.9.2",
25-
"ws": "^8.16.0",
2625
"rimraf": "^6.0.1",
2726
"@types/node": "^24.3.0",
2827
"tsx": "^4.20.5"

web-transport-ws/pnpm-lock.yaml

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)