Skip to content

BunStdio

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.

1 exports Added in v4.0.0 Source

Layers

layer

Added in v4.0.0 Source

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

Signature

declare const layer: Layer.Layer<Stdio>;