README
BennyHub Virtual Machine
Virtual Machine for running BennyHub applications.
Report Bug
·
Request Feature
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-vm
Usage
- Import
VirtualMachine
class
import { vm } from 'benny-vm';
const VirtualMachine = vm.VirtualMachine;
- Instantiate
VirtualMachine
class
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