| 1 | # wazero-helpers: helpful utilities for wazero users |
| 2 | |
| 3 | [wazero][1] is a WebAssembly runtime for Go programs, providing a powerful base |
| 4 | for executing Wasm modules. It is relatively low-level though, and there are |
| 5 | certain patterns we see that can be helpful across certain categories of Wasm |
| 6 | modules. |
| 7 | |
| 8 | wazero-helpers provides higher level utilities to support some of these use |
| 9 | cases and hopes to provide a helpful base for wazero users that fall into these |
| 10 | categories, while allowing wazero itself to continue to focus on being the an |
| 11 | excellent WebAssembly runtime for Go. |
| 12 | |
| 13 | ## Development |
| 14 | |
| 15 | We use [goyek][2] for defining build tasks. If you have Go installed, you can |
| 16 | run the tasks. |
| 17 | |
| 18 | Before sending a PR, it is a good idea to run checks locally with: |
| 19 | |
| 20 | ```bash |
| 21 | go run ./build check |
| 22 | ``` |
| 23 | |
| 24 | Apply any autoformatting with: |
| 25 | |
| 26 | ```bash |
| 27 | go run ./build format |
| 28 | ``` |
| 29 | |
| 30 | For VSCode users, it is recommended to use our workspace settings by using |
| 31 | `File > Open Workspace from File...`. All files should autoformat on-save in the same |
| 32 | way as the above command. |
| 33 | |
| 34 | [1]: https://wazero.io |
| 35 | [2]: https://github.com/goyek/goyek |