Elestia Open Source Ratings
6.8

Elysia

Reasonable, with limits. 6th of 10 server frameworks.

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.

WebsiteGitHubnpm

Scores

Overall6.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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, likely 6.4 to 8.5

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 many5.8

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

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, likely 5.4 to 7.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 lot7.7

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.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, likely 7.2 to 9.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 time6.3

Will it still be a good choice in two years?

Claude Opus 5.5: 5.5, likely 4.5 to 7.0

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.

  • github commitsLastYear / releasesLastYear: 283 commits and 16 releases in the last year
  • github openPullRequests / mergedPullRequests: 110 open PRs against 208 merged
  • github.com/sponsors/SaltyAom: The full-time maintainer is funded through sponsors
  • github.com/elysiajs/elysia/issues/513: Users reported broken plugins after the 1.0 lifecycle change

GPT-6.2 Sol: 7.0, likely 5.7 to 8.2

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 widely5.1

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 8.3M against 0.62M a year ago, about 13x
  • dependents: 45 repos and 83 packages, low next to its peers
  • github stars: 19.4k stars

GPT-6.2 Sol: 5.1, likely 3.5 to 6.5

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.

  • npm.downloadsLast4Weeks and npm.downloadsSame4WeeksYearAgo: 8.3 million versus 625,000 downloads.
  • medianDownloadsRatio: 4.1-fold catalog baseline.
  • github.stars and bluesky.posts: 19,377 stars and five matching Bluesky posts.
  • dependents and peers: Few indexed dependents and faster download growth at Hono.
  • 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Usage trails the category leaders among survey respondents.
Vouched for6.2

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

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, likely 6.2 to 8.4

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.

Safe5.6

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

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, likely 4.9 to 7.4

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

npm downloads, 4 weeks
8.3M ×13 in a year
GitHub stars
19k
Commits, 12 months
283
npm version
1.4.32 Nov 2026
Versions, 12 months
16
Advisories, 24 months
5 of 5 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (elysiajs/elysia), npm (elysia), OSV and the OpenSSF Scorecard.

Server frameworks

  1. 8.4Hono
  2. 8.3Fastify
  3. 8.2NestJS
  4. 7.3Express
  5. 7.0AdonisJS
  6. 6.8Elysia
  7. 6.7h3
  8. 5.5Koa
  9. 5.4hapi
  10. 3.8Restify
Compare all 10 on six scores