Skip to content

BunStdio.ts

Process stdio for Bun applications.

This module provides the Bun layer for Effect’s Stdio service by using the shared Node stdio implementation. Arguments come from process.argv, input is read from process.stdin, and output and error output write 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