NodeServices.ts
NodeServices.ts overview
Section titled “NodeServices.ts overview”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.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”Provides the default Node implementations for child process spawning, filesystem, path, stdio, and terminal services.
Signature
declare const layer: Layer.Layer<NodeServices, never, never>Since v4.0.0
models
Section titled “models”NodeServices (type alias)
Section titled “NodeServices (type alias)”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 | TerminalSince v4.0.0