Skip to content

NodeStdio.ts

Node.js Stdio layer for the current process.

The exported layer reuses the shared Node stdio implementation. It satisfies the platform-independent Stdio service by reading command-line arguments from process.argv, consuming input from process.stdin, and writing output streams to process.stdout and process.stderr.

Since v4.0.0



Provides the Stdio service backed by the current process arguments, stdin, stdout, and stderr streams.

Signature

declare const layer: Layer.Layer<Stdio, never, never>

Source

Since v4.0.0