gespenst API - v0.1.0
    Preparing search index...

    Interface WasmerAddonOptions

    Configuration for a Wasmer-backed terminal addon.

    interface WasmerAddonOptions {
        args?: readonly string[];
        command?: string;
        connection?: TerminalConnectionOptions;
        cwd?: string;
        env?: Readonly<Record<string, string>>;
        initialization?: WasmerInitializationOptions;
        mount?: Readonly<Record<string, WasmerMount>>;
        package: WasmerPackageSource;
        runtime?: WasmerRuntimeOptions;
        uses?: readonly string[];
    }

    Hierarchy (View Summary)

    Index
    args?: readonly string[]

    Additional command-line arguments.

    command?: string

    Named package command; the package entrypoint is used when omitted.

    Backpressure and cancellation policy passed to the native terminal connection.

    cwd?: string

    Initial working directory inside the WASIX filesystem.

    env?: Readonly<Record<string, string>>

    Environment variables. TERM and COLORTERM receive terminal-friendly defaults.

    Options used during the process-wide Wasmer SDK initialization.

    mount?: Readonly<Record<string, WasmerMount>>

    Virtual directories mounted by absolute guest path.

    Registry, URL, or in-memory WebC package source.

    Options used for the process's Wasmer runtime.

    uses?: readonly string[]

    Additional registry packages exposed to the process.