Wasm-opt After installing this package, you can use wasm-opt in your project. About wasm-opt Install Global installation: npm i wasm-opt -g Installation in the project: npm i wasm-opt Usage wasm-opt index_bg.wasm -o index.wasm