https://github.com/lenqwang/webassembly-demo
Created with CodeSandbox
https://github.com/lenqwang/webassembly-demo
Last synced: 3 months ago
JSON representation
Created with CodeSandbox
- Host: GitHub
- URL: https://github.com/lenqwang/webassembly-demo
- Owner: lenqwang
- Created: 2018-06-06T06:26:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T06:26:31.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T09:49:54.379Z (5 months ago)
- Language: JavaScript
- Homepage: https://codesandbox.io/s/github/qqcome110/webassembly-demo
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to use this project
- `brew installcmake`
- [git clone binaryen --depth=1](https://github.com/WebAssembly/binaryen)
- `cd binaryen && cmake . && make`
- Done!## Running
```sh
./binaryen/bin/asm2wasm -o add.wasm # 编译成wasm并导出到add.wasm
serve . # please install serve if your locale is not found the command
```