Skip to content

@jsvision/core / StreamOptions

Interface: StreamOptions ​

Defined in: host/streams.ts:21

The stream-related subset of HostOptions — enough for detectTty to run the same binding logic the host uses, before the host is started.

Properties ​

input? ​

readonly optional input?: ReadStream

Defined in: host/streams.ts:23

Input stream. Default: process.stdin.


output? ​

readonly optional output?: WriteStream

Defined in: host/streams.ts:25

Output stream. Default: process.stdout.


preferDevTty? ​

readonly optional preferDevTty?: boolean

Defined in: host/streams.ts:27

When true (default) and stdout is piped but a controlling terminal exists, bind to /dev/tty.