Running Wasm code in Node.js, the popular backend platform.

In the previous part of this series, we have executed Wasm modules in a browser. In this part, we will achieve the same in Node.js, a popular JavaScript backend platform.

Starting with version 12, Node.js provides an implementation of the WASI API, WebAssembly System Interface. WASI gives sandboxed WebAssembly applications access to the underlying operating system features. In the following text, we will focus only on basic Wasm, WASI will be discussed in a dedicated future post.

#webassembly #nodejs #node #javascript #web-development

Learning WebAssembly: Running Wasm in Node.js
1.85 GEEK