Write the output binary to a given file

wat2wasm

  • Convert a file from the WebAssembly text format to the binary format.
    More information: <https://github.com/WebAssembly/wabt>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

wat2wasm {{file.wat}} -o {{file.wasm}}

click the source code to copy install wat2wasm on any operating system with command-not-found.com