Name Date Size #Lines LOC

..15-May-2026-

.gitignoreH A D15-May-202651 44

README.mdH A D15-May-2026411 2416

asconfig.jsonH A D15-May-2026349 1313

package.jsonH A D15-May-2026433 1817

tsconfig.jsonH A D15-May-202684 66

wasi-demo.tsH A D15-May-20262 KiB5021

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```