@blockless/browser-runtime
v0.0.16
Published
Runtime Browser Core for the Blockless Network.
Downloads
9
Readme
@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.