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

github.com/Effect-TS/effect

Chat with this repo
repository ↗ · DeepWiki ↗ · release effect@4.0.0-rc.109 ↗ · + Follow · compare 3 versions
13,798 symbols 41,150 edges 1,445 files ⚖ MIT 418 documented · 3% updated 2d ago@effect/openapi-generator@4.0.0-rc.112 · 2026-08-25★ 15,552149 open issues

Browse by type

Functions 8,651 Types & classes 5,147
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 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.

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-anthropic Anthropic provider for the Effect AI modules docs
@effect/ai-openai OpenAI 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/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/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

Resources

  • Documentation (https://effect.website)
  • Discord (https://discord.gg/effect-ts)
  • Effect v3 source (https://github.com/Effect-TS/effect/tree/v3)
  • Effect v4 source (https://github.com/Effect-TS/effect/tree/main)

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 7,045
Class 3,370
Interface 1,771
Method 1,606
Enum 6

Languages

TypeScript100%

Modules by API surface

packages/effect/typeperf/suites/httpapi/fixtures/endpoint-class-count-500.ts1,000 symbols
packages/effect/src/Schema.ts400 symbols
packages/effect/src/SchemaAST.ts237 symbols
packages/effect/src/unstable/cli/Prompt.ts223 symbols
packages/tools/jsdocs/src/Jsdocs.ts198 symbols
packages/effect/src/PubSub.ts183 symbols
packages/effect/src/unstable/ai/McpSchema.ts177 symbols
packages/effect/src/internal/effect.ts159 symbols
packages/effect/src/unstable/cluster/K8sTypes.ts117 symbols
packages/effect/src/unstable/ai/AiError.ts96 symbols
packages/effect/src/Graph.ts95 symbols
packages/effect/src/internal/hashMap.ts87 symbols

Dependencies from manifests, versioned

@babel/cli8.0.4 · 1×
@babel/code-frame8.0.0 · 1×
@babel/core8.0.1 · 1×
@babel/plugin-transform-export-namespace-from8.0.1 · 1×
@babel/plugin-transform-modules-commonjs8.0.1 · 1×
@changesets/changelog-github1.0.0-next.9 · 1×
@changesets/cli3.0.0-next.11 · 1×
@clickhouse/client1.23.1 · 1×
@cloudflare/workers-types5.20260708.1 · 1×
@db/redisjsr:^0.41.2 · 1×
@effect/ai-anthropicworkspace:* · 1×
@effect/ai-docgenworkspace:^ · 1×

Datastores touched

mydbDatabase · 1 repos
testdbDatabase · 1 repos

For agents

$ claude mcp add effect \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page