effect-filesystem

Installation
SKILL.md

FileSystem Platform Abstraction

Use effect FileSystem for platform-abstract file I/O. Stock layers are provided for Node.js and Bun; @effect/platform-browser does not provide a FileSystem layer, so browser code needs a custom/injected implementation.

Targets Effect 4.1.0. Match platform package versions to effect; verify APIs against the effect@4.1.0 source tag rather than unreleased main.

Basic Pattern

import { FileSystem } from 'effect';
import { Effect } from 'effect';

// Service injection via yield*
const program = Effect.gen(function* () {
	const fs = yield* FileSystem.FileSystem;
Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026