MCPcopy Create free account
hub / github.com/Effect-TS/effect

github.com/Effect-TS/effect

Chat with this repo
repository ↗ · DeepWiki ↗ · release effect@4.2.1 ↗ · + Follow · compare 5 versions

Build production-ready applications in TypeScript

34,798 symbols 134,283 edges 3,495 files ⚖ MIT 989 documented · 3% ● updated today★ 17,870133 open issues

Browse by type

⨍ Functions 24,750◇ Types & classes 10,048
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 4.x is a long-term support (LTS) release. If you are upgrading from Effect 3.x, follow the migration guide.

Installation

npm install effect

Requirements

  • TypeScript 5.9 or newer. TypeScript 7 is recommended for the best performance and compatibility with Effect's TypeScript tooling.
  • Node.js 22.19 or newer is the general minimum for running Effect on Node.js.
  • Strict type-checking: the strict flag must be enabled in your tsconfig.json.

Links

  • Website: documentation, guides, and news
  • Discord: ask questions, share what you're building, and talk to the core team
  • Community: meetups and events, or bring Effect to your own
  • Issues: bug reports and feature requests
  • Jobs: companies hiring Effect developers
  • Follow us on X, Bluesky, and LinkedIn

Let's talk

Whether your team is considering Effect, rolling it out, or already running it in production, we'd love to hear from you: what you're building, what works, and what you need from Effect next.

  • Talk to the maintainers. Introduce your team on Discord or email contact@effectful.co. We're happy to connect privately on Slack or Discord for feedback and help with adoption.
  • Production support. We're exploring how to better support teams running Effect in production. If your organization has specific support needs, let's discuss them.
  • Adoption help. Our adoption partners offer implementation, consulting, team extension, training, and commercial support.

Feedback from teams using and evaluating Effect directly shapes what we stabilize and build next.

Long-term support

Teams depend on Effect for systems they expect to run for years. Effect 4.x is a long-term support (LTS) release with the following guarantees:

  • At least three years of support, including bug and security fixes.
  • Bug fixes for one year after the next major version is released.
  • Security fixes for two years after the next major version is released.

Stable APIs reserve breaking changes for major releases. APIs marked unstable may change in minor releases, and experimental APIs may change in patch releases.

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. To upgrade, see the migration guide.

Packages

This monorepo contains the core effect package alongside integration packages that extend it. All packages listed below are released together with synchronized versions.

Package Description API Reference
effect The core package docs
@effect/platform-browser Platform services for the browser docs
@effect/platform-bun Platform services for Bun docs
@effect/platform-deno Platform services for Deno docs
@effect/platform-node Platform services for Node.js docs
@effect/platform-node-shared Shared services for Node.js-compatible runtimes docs
@effect/sql-clickhouse SQL client for ClickHouse docs
@effect/sql-d1 SQL client for Cloudflare D1 docs
@effect/sql-libsql SQL client for libSQL docs
@effect/sql-mssql SQL client for Microsoft SQL Server docs
@effect/sql-mysql2 SQL client for MySQL docs
@effect/sql-pg SQL client for PostgreSQL docs
@effect/sql-pglite SQL client for PGlite docs
@effect/sql-sqlite-bun SQL client for SQLite via bun:sqlite docs
@effect/sql-sqlite-do SQL client for Cloudflare Durable Objects SQLite docs
@effect/sql-sqlite-node SQL client for SQLite via node:sqlite docs
@effect/sql-sqlite-react-native SQL client for SQLite in React Native docs
@effect/sql-sqlite-wasm SQL client for SQLite compiled to WebAssembly docs
@effect/ai-amazon-bedrock Amazon Bedrock provider for the Effect AI modules docs
@effect/ai-anthropic Anthropic provider for the Effect AI modules docs
@effect/ai-openai OpenAI provider for the Effect AI modules docs
@effect/ai-cloudflare Cloudflare decision provider for the Effect AI modules docs
@effect/ai-typesafe TypeSafe decision provider for the Effect AI modules docs
@effect/ai-openai-compat OpenAI-compatible API provider for the Effect AI modules docs
@effect/ai-openrouter OpenRouter provider for the Effect AI modules docs
@effect/chat-slack Slack adapter for effect/chat docs
@effect/chat-whatsapp WhatsApp Cloud API adapter for effect/chat docs
@effect/chat-discord Discord adapter for effect/chat docs
@effect/chat-telegram Telegram Bot API adapter for effect/chat docs
@effect/chat-teams Microsoft Teams adapter for effect/chat docs
@effect/atom-react React bindings for Effect Atom docs
@effect/atom-solid SolidJS bindings for Effect Atom docs
@effect/atom-vue Vue bindings for Effect Atom docs
@effect/ui-devtools Inspector, overlay and MCP server for effect/ui apps docs
@effect/ui-native React Native host for effect/ui (experimental) docs
@effect/ui-opentui OpenTUI terminal host for effect/ui (experimental) docs
@effect/opentelemetry OpenTelemetry integration docs
@effect/vitest Helpers for testing with Vitest docs
@effect/docgen Documentation generator for Effect projects docs
@effect/doctest Runs JSDoc examples as Vitest tests docs
@effect/openapi-generator Generate Effect code from OpenAPI specifications docs
@effect/graphql-generator Generate Effect code from GraphQL documents docs
@effect/dprint dprint plugin that stacks chains and groups imports docs

License

MIT

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 21,207
Class 5,790
Interface 4,237
Method 3,543
Enum 14
Struct 7

Languages

TypeScript99%
Swift1%
Rust1%
Java1%

Modules by API surface

packages/effect/src/Schema.ts531 symbols
packages/effect/src/ui/Query.ts341 symbols
packages/effect/src/encoding/SchemaBinary.ts268 symbols
packages/effect/src/SchemaAST.ts248 symbols
packages/effect/src/cli/Prompt.ts229 symbols
packages/effect/src/ai/McpSchema.ts216 symbols
packages/tools/jsdocs/src/Jsdocs.ts198 symbols
packages/effect/src/PubSub.ts185 symbols
packages/effect/src/internal/effect.ts183 symbols
packages/effect/src/Graph.ts139 symbols
packages/effect/src/encoding/Xml.ts137 symbols
packages/effect/src/ui/internal/story.ts136 symbols

Dependencies from manifests, versioned · 12 of 190, runtime first

@effect/opentelemetryworkspace:* · 1×
@effect/vitestworkspace:^ · 1×
@std/fsjsr:^1.0.24 · 1×
@std/pathjsr:^1.1.6 · 1×
effectworkspace:^ · 1×
expo58.1.0 · 1×
nodemailer10.6.1 · 1×
react-native-macos0.83.0 · 1×
rolldown1.3.4 · 1×

Datastores touched

appDatabase · 1 repos
dbDatabase · 1 repos
mydbDatabase · 1 repos
postgresDatabase · 1 repos
(mysql)Database · 1 repos
dbDatabase · 1 repos
originalDatabase · 1 repos
testdbDatabase · 1 repos

For agents

$ claude mcp add --transport http codehub https://codehub.bot/mcp

One hosted endpoint, no key: your agent can search, read and trace Effect-TS/effect and every other graph here. Cursor, Windsurf and other clients →

⬇ download graph artifact

Ask about this repo answers extend the page