Effect

August 12, 2026 ยท View on GitHub

pkg.pr.new

Effect

Effect is a library for building robust, maintainable, type-safe, and production grade applications in TypeScript. It helps you handle the hard problems at scale: typed errors, dependency injection, structured concurrency, scheduling, tracing, and unified schema validation.

Effect V4 is currently a release candidate. The main branch contains v4 development.

Install V4 RC

npm install effect@rc

Requirements

  • TypeScript 5.9 or newer. TypeScript 7 is recommended for the best performance and compatibility with Effect's TypeScript tooling.
  • Node.js 18 or newer is the general minimum for running Effect on Node.js. Some integration packages require newer runtimes; for example, @effect/sql-sqlite-node requires Node.js 22.16 or newer.
  • Strict type-checking: the strict flag must be enabled in your tsconfig.json.

Effect v3

The Effect v3 source code is available on the v3 branch, which is also where issues and pull requests meant for Effect v3 should be targeted.

Packages

This monorepo contains the core effect package alongside integration packages that extend it. All v4 packages are published under the rc tag on npm.

PackageDescriptionAPI Reference
effectThe core packagedocs
@effect/platform-browserPlatform services for the browserdocs
@effect/platform-bunPlatform services for Bundocs
@effect/platform-denoPlatform services for Denodocs
@effect/platform-nodePlatform services for Node.jsdocs
@effect/platform-node-sharedShared services for Node.js-compatible runtimesdocs
@effect/sql-clickhouseSQL client for ClickHousedocs
@effect/sql-d1SQL client for Cloudflare D1docs
@effect/sql-libsqlSQL client for libSQLdocs
@effect/sql-mssqlSQL client for Microsoft SQL Serverdocs
@effect/sql-mysql2SQL client for MySQLdocs
@effect/sql-pgSQL client for PostgreSQLdocs
@effect/sql-pgliteSQL client for PGlitedocs
@effect/sql-sqlite-bunSQL client for SQLite via bun:sqlitedocs
@effect/sql-sqlite-doSQL client for Cloudflare Durable Objects SQLitedocs
@effect/sql-sqlite-nodeSQL client for SQLite via node:sqlitedocs
@effect/sql-sqlite-react-nativeSQL client for SQLite in React Nativedocs
@effect/sql-sqlite-wasmSQL client for SQLite compiled to WebAssemblydocs
@effect/ai-anthropicAnthropic provider for the Effect AI modulesdocs
@effect/ai-openaiOpenAI provider for the Effect AI modulesdocs
@effect/ai-openai-compatOpenAI-compatible API provider for the Effect AI modulesdocs
@effect/ai-openrouterOpenRouter provider for the Effect AI modulesdocs
@effect/atom-reactReact bindings for Effect Atomdocs
@effect/atom-solidSolidJS bindings for Effect Atomdocs
@effect/atom-vueVue bindings for Effect Atomdocs
@effect/opentelemetryOpenTelemetry integrationdocs
@effect/vitestHelpers for testing with Vitestdocs
@effect/docgenDocumentation generator for Effect projectsdocs
@effect/doctestRuns JSDoc examples as Vitest testsdocs
@effect/openapi-generatorGenerate Effect code from OpenAPI specificationsdocs

Resources

License

MIT