Skip to content

ubermanu/web-assembly-to-native-exe

Repository files navigation

WebAssembly Native Executable

This is a simple example on how to create a WebAssembly native executable on linux using wasmer.

Dependencies

  • wasmer
  • Node.js + PNPM (or else you can use NPM or Yarn)

Install

Clone this repository and install the dependencies:

git clone https://github.com/ubermanu/web-assembly-to-native-exe
cd web-assembly-to-native-exe
pnpm install

Build

Build the WebAssembly file into a native executable:

make build

Run

Run the executable:

make run

Releases

No releases published

Packages

No packages published