Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luoyjx/wasmbuild-demo-deno
deno demo using wasmbuild
https://github.com/luoyjx/wasmbuild-demo-deno
Last synced: 19 days ago
JSON representation
deno demo using wasmbuild
- Host: GitHub
- URL: https://github.com/luoyjx/wasmbuild-demo-deno
- Owner: luoyjx
- License: mit
- Created: 2022-07-14T13:09:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-14T13:38:46.000Z (over 2 years ago)
- Last Synced: 2024-11-05T18:53:10.834Z (2 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wasmbuild-demo-deno
deno demo using wasmbuild## Usage
### Build .wasm file
```bash
deno task wasmbuild
```### Run with .wasm file
```bash
deno run -A main.js
```### Run with .wasm file in browser
```bash
deno task serve
```you can see in terminal
```bash
# random port
Listening on http://localhost:4507/
```open `http://localhost:4507/` in your browser and open the developer console