0.1.6 • Published 3 years ago

wasi-kernel v0.1.6

Weekly downloads
3
License
ISC
Repository
-
Last release
3 years ago

wasi-kernel

Simple process management, streams, and shared file system for WASM modules running in workers, based on WASI and Wasmer-JS.

Development

To startup the project, you first need to do:

npm i

Running in Node

If you want to run this project in Node for development, build the module with:

npm run build:node

Compiled JavaScript files are placed in lib/.

Running in Browser

Browser integration is possible with Parcel. Parcel's integrated server can be used for development.

parcel shell.html

Then direct your browser to http://localhost:1234/.

When developing your own project that uses wasi-kernel, employ standard import statements and run Parcel on your main entry point (HTML or JavaScript).

import { WorkerProcess } from 'wasi-kernel';

p = new WorkerProcess('/uri/of/prog.wasm');
0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.1-rc2

3 years ago

0.1.1-rc1

4 years ago