https://github.com/wasm-outbound-http-examples/js-in-go
Make HTTP requests from inside WASM in JavaScript implemented in Go. Demo and devcontainer.
https://github.com/wasm-outbound-http-examples/js-in-go
goja gojax http-client http-request javascript js otto wasm webassembly
Last synced: 3 months ago
JSON representation
Make HTTP requests from inside WASM in JavaScript implemented in Go. Demo and devcontainer.
- Host: GitHub
- URL: https://github.com/wasm-outbound-http-examples/js-in-go
- Owner: wasm-outbound-http-examples
- License: mit
- Created: 2024-01-16T09:28:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T02:59:49.000Z (over 2 years ago)
- Last Synced: 2025-01-13T19:40:31.587Z (over 1 year ago)
- Topics: goja, gojax, http-client, http-request, javascript, js, otto, wasm, webassembly
- Language: HTML
- Homepage: https://wasm-outbound-http-examples.github.io/js-in-go/
- Size: 13.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Make HTTP requests from inside WASM in JavaScript (implemented in Golang)
This devcontainer is configured to provide you a latest stable version of Go toolset.
[](https://codespaces.new/wasm-outbound-http-examples/js-in-go)
1. Example in `browser-and-deno-otto` directory allows you to build an `Otto` browser example (same as demo),
along with Deno and Bun examples and experiment with all of them.
For details, see its [README](browser-and-deno-otto/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/js-in-go/otto/) is available.
2. Example in `browser-and-deno-goja` directory allows you to build an `Goja` browser example (same as demo),
along with Deno and Bun examples and experiment with all of them.
For details, see its [README](browser-and-deno-goja/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/js-in-go/goja/) is available.
3. Example in `browser-and-deno-gojax-fetch` directory allows you to build an `gojax/fetch` browser example (same as demo),
along with Deno and Bun examples and experiment with all of them.
For details, see its [README](browser-and-deno-gojax-fetch/README.md).
Also [browser demo](https://wasm-outbound-http-examples.github.io/js-in-go/gojax-fetch/) is available.
Created for (wannabe-awesome) [list](https://github.com/vasilev/HTTP-request-from-inside-WASM)