0.3.0 • Published 4 years ago
@fluencelabs/avm-runner-web v0.3.0
AVM runner implementation for web browsers
AVM runner is the abstraction over Aqua virtual machine (AVM) interpreter designed to allow run it in different contexts such as web workers in browsers or worker threads on nodejs.
The package provides implementation for web browsers based on web workers.
Usage
To use AvmRunnerBackground with Fluence JS refer to the official documentation
Building
First you need to build the runner script:
./build_runner.shThen build the npm package:
npm install
npm run buildRunning tests
The browser tests are run with puppeteer to insure they are executed in the same environment as browser itself
First, build the avm-runner-web (see Building)
Go to the test project:
cd ../avm-runner-web-testBuild the browser script with the tests:
./build_browser_script.shRun the tests:
npm install
npm run testLicense
0.3.0
4 years ago