# Elysia: 6.8 out of 10

Reasonable, with limits. 6th of 10 in [Server frameworks](https://elestia.ai/opensource/server-frameworks/index.md).

Elysia is a fast, Bun-first TypeScript server framework. Its main draws are types inferred from the schema and the Eden client, which types the client end to end. It is a good pick for teams that are committed to Bun. Hono and Fastify are safer for most projects because they run more widely, have more people behind them and have a calmer security record.

**Best for:** Teams building TypeScript APIs on Bun that want typed end-to-end clients and top raw speed.

## Scores

- **Overall: 6.8** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (6.0): It is a strong tool for Bun-based TypeScript APIs, with excellent type ergonomics, and it is growing fast. For most new projects, Hono does a similar job on more runtimes with a bigger, more co-maintained ecosystem, and Fastify is the better-proven choice on Node. Reliance on one maintainer and a run of serious advisories keep it out of the top tier.
  - GPT-6.2 Sol (7.6): Elysia is a strong choice for a new Bun API because it handles validation, API docs, and client typing with little setup and performs well under load. Hono is a stronger default for projects that need to move across runtimes, and Fastify is a safer default for Node-first teams. The 2.0 transition and recent security fixes make the long-term recommendation less certain.
- **Needed by many: 5.8** (likely 4.7 to 7.0)
  - Claude Opus 5.5 (5.0): Building HTTP APIs is a very broad job. Elysia's take on it is centred on Bun, which still serves a minority of server projects. It does run on Node, Deno and Workers through adapters, but those are not where most people use it.
  - GPT-6.2 Sol (6.5): HTTP APIs are a common job, and Elysia can serve them on Bun, Node.js, and edge runtimes. Its strongest fit is TypeScript teams on Bun. Node needs an adapter, and the documented Cloudflare Workers limits make it harder to recommend as broadly as Hono.
- **Helps a lot: 7.7** (likely 6.6 to 8.7)
  - Claude Opus 5.5 (7.0): Its type inference, Eden client, built-in validation and OpenAPI support are best in class for type-safe APIs, and it is very fast on Bun. Limits: the speed edge depends on Bun, the plugin set is smaller than Hono's, and a series of validation and cookie-parsing bugs points to correctness gaps. AI agents know it less well than Express or Hono.
  - GPT-6.2 Sol (8.3): Stable 1.4 ties validation, TypeScript inference, and OpenAPI together, with Eden for typed clients and field-level validation messages. An independent load test put Elysia ahead of Hono and Fastify on Bun, while Fastify led Elysia on Node in the same test. Agent-readable docs help with routine routes, but production users report friction with middleware and plugin composition. Coding-agent accuracy on those harder cases remains unverified.
- **Holds up over time: 6.3** (likely 5.1 to 7.6)
  - Claude Opus 5.5 (5.5): The project is active, with 283 commits and 16 releases in the last year, and the latest release came out this month. 1.4 had no breaking changes. However, it depends heavily on one maintainer funded by sponsors, and its review backlog is large (110 open PRs). The 1.0 migration broke plugins for some users.
  - GPT-6.2 Sol (7.0): Elysia logged 283 commits and 16 releases in a year, and sponsorship supports full-time maintenance. Recent releases are concentrated under one maintainer, and the issue and pull request backlog gives limited visibility into response times. The stable line now gets security updates only, while the 2.0 rewrite adds migration work that users have already encountered.
- **Used widely: 5.1** (likely 3.8 to 6.3)
  - Claude Opus 5.5 (5.0): Downloads grew about 13x in a year, to 8.3M per 4 weeks. That is well above the 4.1 median, though below Hono's roughly 40x. Dependents (45 repos, 83 packages) and Bluesky attention are small next to its peers, so its real base of projects that chose it is probably in the tens of thousands.
  - GPT-6.2 Sol (5.1): Four-week npm downloads rose from 625,000 to 8.3 million, a 13.3-fold increase against the 4.1-fold median. That signals a gain in install share, although Hono grew faster and Fastify still has far more installs. Roughly 19,400 stars show interest, while ecosyste.ms found only 45 repositories and 83 packages and Bluesky attention was modest. Partial indexing and automated installs leave the number of projects choosing Elysia uncertain.
- **Vouched for: 6.2** (likely 4.9 to 7.5)
  - Claude Opus 5.5 (5.0): State of JS 2025 put it in the top three for satisfaction, and Vercel and Sentry document how to use it. Public production case studies are few and mostly reported by the author, such as the TipTap migration. Independent benchmarks exist but use synthetic workloads.
  - GPT-6.2 Sol (7.3): Elysia was among the three highest-rated backend frameworks for satisfaction in State of JavaScript 2025. Vercel provides first-party deployment support, and engineers from CS.MONEY and Papernest report production use. Thoughtworks rated it Assess in 2025, and the public production evidence is still mostly case reports.
- **Safe: 5.6** (likely 4.5 to 7.0)
  - Claude Opus 5.5 (5.0): It has five advisories in 24 months, including a critical prototype pollution flaw that could chain into remote code execution, plus ReDoS and cookie pollution flaws. All were patched within the 1.4 line. It has few dependencies and an MIT licence, but there is no Scorecard data and publishing depends on few people.
  - GPT-6.2 Sol (6.2): The MIT license, four direct dependencies, and a CI workflow that tests before publishing with npm provenance are positives. Stable 1.4.32 includes fixes for all five advisories in the bundle, and several patches shipped before public disclosure. The November 1.4.31 notes list further fixes across parsing, authorization, and cookies. The breadth of those fixes, concentrated release activity, and missing OpenSSF Scorecard keep the range wide.

## Good

- Types for body, query, params, headers and responses are inferred from one schema, so there is little boilerplate.
- The Eden Treaty client gives tRPC-like end-to-end types without a code generation step.
- It is among the fastest JavaScript frameworks on Bun, and OpenAPI generation takes one plugin.
- It has only 4 runtime dependencies, and the 1.4 line upgraded without breaking changes.

## Bad

- It is optimized for Bun. On Node and edge runtimes it loses much of its speed edge, and support there is less proven than Hono's.
- It had five advisories in 24 months, including a critical prototype pollution flaw and a code-injection flaw that could be chained into remote code execution.
- Development rests mostly on one full-time maintainer, and pull requests pile up (110 open against 208 merged).
- Its ecosystem of plugins and middleware is smaller than Hono's or Fastify's, and there are fewer public production case studies.

## The numbers

- Downloads, 4 weeks: 8.3M
- In a year: ×13
- GitHub stars: 19k
- Commits, 12 months: 283
- Last npm release: Nov 2026
- Advisories, 24 months: 5
- Licence: MIT
- GitHub: https://github.com/elysiajs/elysia
- npm: https://www.npmjs.com/package/elysia

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
