create a new project cargo new --lib mywasm compile wasm-pack build --target nodejs call wasm module with nodejs node test.js