Skip to content

Commit 3f5cadd

Browse files
committed
examples: add WebAssembly example
1 parent ecdcb98 commit 3f5cadd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Here you can find a overview of examples on how to use demoinfocs-golang.
1010
|[net-messages](net-messages)|Parsing and handling custom net-messages|
1111
|[print-events](print-events)|Printing kills, scores & chat messages|
1212
|[mocking](mocking)|Using the `fake` package to write unit tests for your code|
13+
|[web-assembly](web-assembly)|Using the library from JavaScript (in the browser) with [WebAssembly](https://webassembly.org/)|

examples/web-assembly/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# WebAssembly (WASM)
2+
3+
This example shows how to use the library with [WebAssembly](https://webassembly.org/).
4+
5+
Since the build process is somewhat different from the library itself, the example has it's own repository which you can find here:
6+
https://gitlab.com/markus-wa/demoinfocs-wasm

0 commit comments

Comments
 (0)