0.0.16 • Published 11 months ago
@blockless/browser-runtime v0.0.16
@blockless/browser-runtime
Runtime Browser Core for the Blockless Network.
Install
npm i @blockless/browser-runtime
Basic Usage
import { WasmWorker } from '@blockless/browser-runtime'
new WasmWorker('./path-to-wasm-file.wasm', {
stdin: new TextEncoder().encode(stdin),
onLog: (s: string) => {
console.log('Stdout', s)
}
})
Documentation
For the latest documentation, visit Blockless Docs
Contributing
Refer to the CONTRIBUTING.md guide for details.