Effect
Backend / API library · Free
A TypeScript library for process composition with typed errors, concurrency, and resource management: it helps organize reliable backend code.
Also known as: effect-ts/effect; effect-ts; effect-typescript; effect-ecosystem

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Coordinate a process's typed errors and resources
- Connect concurrency/resource lifecycles to success/failure handling
Example workflow
A possible workflow; this is not a report of hands-on testing.
Coordinate a process's typed errors and resources.
Before you start
- A data contract or HTTP workflow.
- A project with a supported runtime.
Steps
- Define effect operations and backend scenario dependencies.
- Connect concurrency/resource lifecycles to success/failure handling.
- Add error handling and an integration check of the result.
Check your result
- Invalid and missing data are handled predictably.
- Types and the actual response agree; errors are not hidden.
Choosing Effect
Coordinate a process's typed errors and resources
Choose this when
- Coordinate a process's typed errors and resources
- Connect concurrency/resource lifecycles to success/failure handling
Requirements
- Current README: TypeScript 5.9+, strict=true; Node.js requires 18+, while @effect/sql-sqlite-node requires 22.16+.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- Unstable APIs may change in minor releases, experimental APIs in patch releases; migration from v3 has a separate guide.
Frequently asked questions
What can you use for free in Effect?
Code and local use under MIT.
What additional costs might arise with Effect?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Effect?
MIT for the code; dependencies have separate licenses.
How do you get started with Effect?
Define effect operations and backend scenario dependencies. Connect concurrency/resource lifecycles to success/failure handling. Add error handling and an integration check of the result.
What settings does the current Effect require, and how do integrations differ?
strict is required in tsconfig. Alongside typed errors, there is dependency injection, structured concurrency, scheduling, tracing, and schema validation. Platform packages separately cover browsers, Bun, Deno, and Node; SQL integration may require a newer runtime than core.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Effect
- API
- Development