Wat2wasm
WASM/JS clone of wabt's wat2wasm
Install / Use
/learn @emilbayes/Wat2wasmREADME
wat2wasm
WASM/JS clone of wabt's wat2wasm
Usage
usage: wat2wasm [options] filename
read a file in the wasm text format, check it for errors, and
convert it to the wasm binary format.
NOTE: This is WASM/JS clone of wabt's wat2wasm command
examples:
# parse and typecheck test.wat and write to test.wasm
$ wat2wasm test.wat
# parse test.wat and write to binary file test.wasm
$ wat2wasm test.wat -o test.wasm
# Read from stdin and write to stdout
$ cat test.wat | wat2wasm - -output=- > test.wasm
options:
-h, --help Print this help message
-f, --features Comma separated list of feature flags to enable
-d, --dump-module Print a hexdump of the module to stdout
-o, --output=FILE output wasm binary file
--debug-names Write debug names to the generated binary file
Features include:
exceptions
mutable_globals
sat_float_to_int
sign_extension
simd
threads
multi_value
tail_call
bulk_memory
reference_types
Install
npm install -g wat2wasm
License
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
