benny-vm

Virtual Machine for running BennyHub apps and programs.

Usage no npm install needed!

<script type="module">
  import bennyVm from 'https://cdn.skypack.dev/benny-vm';
</script>

README

GitHub stars GitHub forks GitHub issues Version Downloads/week GitHub license


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

  1. Install NPM package
npm install --save benny-vm

Usage

  1. Import VirtualMachine class
import { vm } from 'benny-vm';

const VirtualMachine = vm.VirtualMachine;
  1. Instantiate VirtualMachine class
let vm = new VirtualMachine(wasmBytes, apisObject, 'exportedEntryFunctionName', optionalWasmEnv);
  1. 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