Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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

关于 About

Build production-ready applications in TypeScript
cliclusteringconcurrencydependency-injectioneffecterror-handlingjavascriptobservabilityopentelemetryplatformschematypescriptworkflows

语言 Languages

TypeScript99.9%
JavaScript0.1%
Shell0.0%
Nix0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
3116
Total Commits
峰值: 298次/周
Less
More

核心贡献者 Contributors