0.0.2 • Published 5 years ago
benny-vm v0.0.2
Table of Contents
About The Project
This VM is written for BennyHub. It's purpose is to run WebAssembly applications with provided API from host BennyHub implementation.
Getting Started
To get started follow these isntructions...
Prerequisites
You will only need npm package manager to get started.
- npm
Installation
- Install NPM package
npm install --save benny-vmUsage
- Import
VirtualMachineclass
import { vm } from 'benny-vm';
const VirtualMachine = vm.VirtualMachine;- Instantiate
VirtualMachineclass
let vm = new VirtualMachine(wasmBytes, apisObject, 'exportedEntryFunctionName', optionalWasmEnv);- Run your app
vm.run();License
Distributed under the AGPL v3.0 License. See COPYING for more information.
Contact
Aleksa Milošević - aleksa.milosevic@gmail.com
Project Link: https://github.com/ajaleksa/benny-vm