1.1.0 • Published 2 years ago
wat-cli v1.1.0
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