README
Wasm-opt
After installing this package, you can use wasm-opt
in your project.
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
Makes it possible to call wasm-opt in your project
<script type="module">
import wasmOpt from 'https://cdn.skypack.dev/wasm-opt';
</script>
After installing this package, you can use wasm-opt
in your project.
Global installation:
npm i wasm-opt -g
Installation in the project:
npm i wasm-opt
wasm-opt index_bg.wasm -o index.wasm