NodeHostOptions
Nodepod API / src/headless / NodeHostOptions
Interface: NodeHostOptions
Section titled “Interface: NodeHostOptions”Defined in: src/host/node/node-host.ts:17
Properties
Section titled “Properties”cacheDir?
Section titled “cacheDir?”
optionalcacheDir?:string
Defined in: src/host/node/node-host.ts:21
Directory for package snapshot cache. Defaults to NODEPOD_CACHE / os.tmpdir().
httpHost?
Section titled “httpHost?”
optionalhttpHost?:string
Defined in: src/host/node/node-host.ts:23
Local HTTP bind host. Default 127.0.0.1
httpPort?
Section titled “httpPort?”
optionalhttpPort?:number
Defined in: src/host/node/node-host.ts:25
Local HTTP bind port (0 = ephemeral). Default 0
workerPath?
Section titled “workerPath?”
optionalworkerPath?:string
Defined in: src/host/node/node-host.ts:19
Absolute path to dist/worker.js (or equivalent IIFE bundle).