NodeJS and NPM module
In order to run it, we must first use the tool to build all dependencies into a single file. In the process, converts CommonJS modules into WasmEdge-compatible ES6 modules. The build script is .
Run the following NPM commands to build npm_main.js demo program into .
You can import and run any pure-JS NPM packages in WasmEdge this way.