A simple shortcut to convert .wat files to .wasm files on your system using node.js
Clone as normal,Install as normal
$ git clone https://github.com/mojtaba-afraz/wat2wasm-interface.git
$ cd wat2wasm-interface
$ npm install
Simply write and save your .wat files in the webAssembly folder and run the following command:
$ npm run build
And then the output of your code is created in the out folder