Search for a command to run...
TypeScript library for building robust applications with type-safe functional programming. Handles errors, async operations, concurrency, and resources through composable primitives that scale with application complexity.
Trusted by engineers at Vercel, PolyCam, and similar teams. Effect differs from raw Promises and try/catch by treating errors as typed values, with built-in retry, interruption, and resource cleanup. Serves as a standard-library layer for TypeScript: immutable data structures, pattern matching, pipe operators, and observability are included rather than added via separate packages.
Key capabilities:
Use cases: APIs and backend services where error handling and resource management matter, replacing scattered try/catch and ad-hoc retry logic with unified pipelines. Resilient data processing, stream handling, and concurrent workloads benefit from Effect's composability. Adoption can be incremental, starting with error-heavy or complex async code paths.