Skip to content

NodeFileSystem

Node.js FileSystem layer for programs that perform real filesystem I/O.

The exported layer satisfies the platform-independent FileSystem service with Node-backed operations for files, directories, metadata, permissions, links, temporary paths, and path watching. Effects still call the service from effect/FileSystem; this module only chooses the Node implementation.

1 exports Added in v4.0.0 Source

Layers

layer

Added in v4.0.0 Source

Provides the FileSystem service backed by Node filesystem APIs.

Signature

declare const layer: Layer.Layer<FileSystem>;