wat-cli
v1.1.0
Published
run .wat files from the command line
Downloads
1
Readme
run .wat files from the command line
CLI
Examples
import { Options, run } from 'wat-cli'
console.log(
run(
new Options({
file: __dirname + '/math.wat',
args: [1, '2'],
name: 'add',
})
)
)
API
Credits
- decarg by stagas – decorator based cli arguments parser
- wat-compiler by stagas – webassembly wat text format to binary compiler
Contributing
All contributions are welcome!
License
MIT © 2022 stagas