| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 15-May-2026 | - | ||||
| .gitignore | H A D | 15-May-2026 | 51 | 4 | 4 | |
| README.md | H A D | 15-May-2026 | 411 | 24 | 16 | |
| asconfig.json | H A D | 15-May-2026 | 349 | 13 | 13 | |
| package.json | H A D | 15-May-2026 | 433 | 18 | 17 | |
| tsconfig.json | H A D | 15-May-2026 | 84 | 6 | 6 | |
| wasi-demo.ts | H A D | 15-May-2026 | 2 KiB | 50 | 21 |
README.md
1# AssemblyScript WASI Demo 2 3This demo shows some WASI features off such as System Time, User Input, Writing to the Console, and Random Numbers. 4The module `@assemblyscript/wasi-shim` as well as a wasi-enabled runtime are required. 5 6## Setup 7 8Navigate to `./docs/assemblyscript_demo` and run 9 10``` 11npm install 12``` 13 14Build the AssemblyScript demo file 15 16``` 17npm run build 18``` 19 20Run the WASI Demo 21 22``` 23npm run demo 24```