You can import the library in modern browsers importing it as a JavaScript standard module:
<script type="module">
import { execute, loadImageElement, buildInputFile } from '../../dist/esm2018/wasm-imagemagick.esm-es6.js'
Image URL:
Commands.