wasme.sh
is the pendant of jse
to extract wasm file. It is within a shell as long as Webassembly won't be integrated with <script type='module'>
or ES2015 import
statements
Note: It provides a way to detect if the webpage use WebAssembly. Fetching the wasm module eventually need js code review.
To use it:
export URL=[endpoint]
curl $URL -s | jse -gather-src -u $URL | ./wasme.sh