Skip to content

@pumpkin-plugins/build API / capabilities / CAPABILITIES

Variable: CAPABILITIES ​

const CAPABILITIES: object

Defined in: tools/build/src/capabilities.ts:5

WASI interfaces a plugin can opt into, by the name used in pumpkinPlugin.wasi.

Type Declaration ​

filesystem ​

readonly filesystem: readonly ["filesystem/types", "filesystem/preopens"]

http ​

readonly http: readonly ["http/types", "http/outgoing-handler"]

sockets ​

readonly sockets: readonly ["sockets/network", "sockets/instance-network", "sockets/tcp", "sockets/tcp-create-socket"]

udp ​

readonly udp: readonly ["sockets/network", "sockets/instance-network", "sockets/udp", "sockets/udp-create-socket"]

Pumpkin Plugins documentation