Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

NodeServices unstable

Aggregate Node.js platform services layer.

This module defines the NodeServices union and a single layer that provides Node-backed child process spawning, crypto, filesystem, path, stdio, and terminal services. Use the layer when a Node program wants the standard platform services from one place.

2 exports Since v4.0.0 Source

Layers

layer

unstable
Since v4.0.0

Provides the default Node implementations for child process spawning, filesystem, path, stdio, and terminal services.

Signature

declare const layer: Layer.Layer<NodeServices>

Models

NodeServices

type unstable
Since v4.0.0

The union of core services provided by the Node platform layer, including child process spawning, filesystem, path, stdio, and terminal services.

Signature

type NodeServices = ChildProcessSpawner | Crypto | FileSystem | Path | Stdio | Terminal