Interface Manifest

The manifest which describes the Plugin code and runtime constraints. This is passed to createPlugin

let manifest = {
wasm: [{name: 'my-wasm', url: ''}],
config: {
'greeting': 'hello' // these variables will be available via `extism_get_var` in plugins

Every member of .wasm is expected to be an instance of ManifestWasm.


  • ManifestOptions
    • Manifest


allowedHosts?: string[]

A list of allowed hostnames. Wildcard subdomains are supported via *.

Requires the plugin to run in a worker using runInWorker: true.


await createPlugin('path/to/some/wasm', {
runInWorker: true,
allowedHosts: ['*', '']
allowedPaths?: {
    [key: string]: string;

Type declaration

  • [key: string]: string
allowed_hosts: undefined | string[]
allowed_paths: undefined | {
    [key: string]: string;

Type declaration

  • [key: string]: string
memory?: MemoryOptions
timeoutMs?: null | number
timeout_ms: undefined | null | number
wasm: ManifestWasm[]

Generated using TypeDoc