Nattily Primped Monster

    empty-wasi
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.3 • Public • Published

    simple-wasi

    Empty WASI implementation.

    No I/O supported. But simple.

    Usage

    import { EmptyWasi } from "empty-wasi";
    
    const wasi = new EmptyWasi();
    const bc = do_fetch_wasm_binary()
    const module = await WebAssembly.compile(bc);
    const instance = await WebAssembly.instantiate(module, wasi.getImports(module));
    const exitcode = wasi.start(instance);

    License

    MIT

    Author

    yskszk63

    Keywords

    Install

    npm i empty-wasi

    DownloadsWeekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    4.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • yskszk63