0.0.2 • Published 4 years ago

benny-vm v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

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

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

0.0.2

4 years ago

0.0.1

4 years ago