NodeFileSystem.ts
NodeFileSystem.ts overview
Section titled “NodeFileSystem.ts overview”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.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”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, never, never>Since v4.0.0