second-state / wasmedge-quickjs

A high-performance, secure, extensible, and OCI-complaint JavaScript runtime for WasmEdge.
Apache License 2.0
477 stars 59 forks source link

Execute the add.js example #112

Open ShayanShiravani opened 12 months ago

ShayanShiravani commented 12 months ago

Hi team. Thanks for your efforts.

How can I execute add.js example using the wasmedge-cli and calculate sum of 1 and 2? Actually, I'd like to know how we can have multiple exported functions in a single wasm file and use them by the host app.

juntao commented 12 months ago

https://wasmedge.org/docs/develop/javascript/hello_world#quick-start