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

NodeFileSystem unstable

Shared Node-compatible implementation of Effect's FileSystem service.

This module adapts Node's node:fs, node:os, and node:path APIs into a FileSystem layer for Effect programs running on Node-compatible runtimes. Platform packages use it to provide file and directory I/O, permissions, links, metadata, temporary files and directories, and file watching through the shared FileSystem service.

1 exports Since v4.0.0 Source

Layers

layer

unstable
Since v4.0.0

Provides the FileSystem service backed by Node filesystem APIs, including file operations, directory operations, links, metadata, and file watching.

Signature

declare const layer: Layer.Layer<FileSystem.FileSystem>