Skip to content

ResolveNodeOpts

Defined in: src/node-bin.ts:3

optional exists?: (p) => boolean

Defined in: src/node-bin.ts:9

Existence probe; defaults to fs.existsSync. Injectable for tests.

string

boolean


optional home?: string

Defined in: src/node-bin.ts:11

Home dir; defaults to $HOME. Injectable for tests.


optional override?: string | null

Defined in: src/node-bin.ts:5

Explicit override (SHEPHERD_NODE_BIN); wins over everything when non-empty.


optional which?: (cmd) => string | null

Defined in: src/node-bin.ts:7

PATH lookup; defaults to Bun.which. Injectable for tests.

string

string | null