wasm-opt

Makes it possible to call wasm-opt in your project

Usage no npm install needed!

<script type="module">
  import wasmOpt from 'https://cdn.skypack.dev/wasm-opt';
</script>

README

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