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.
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.
- peers Hono downloads: Hono grew about 40x to 425M per 4 weeks, far more adoption
- pkgpulse.com/guides/hono-vs-elysia-2026: Hono described as the safer, more portable choice
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: High developer satisfaction
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.
- elysiajs.com/eden/overview: End-to-end typing for conventional HTTP routes.
- github.com/arjaythedev/js-runtimes-benchmark: Strong Bun performance and a Fastify lead on Node.
- hono.dev/docs/concepts/web-standard: Broader deployment support.
- github.com/elysiajs/elysia/releases/tag/1.4.32: Stable release restored after the 2.0 candidate became latest.
- github.com/elysiajs/elysia/releases/tag/1.4.31: Recent security work covered multiple core request paths.
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.
- pkgpulse.com/guides/hono-vs-elysia-2026: Built mainly for Bun; other runtimes described as experimental
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: The only back-end framework in the survey built on Bun
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.
- elysiajs.com/integrations/node: Separate Node.js adapter and setup.
- elysiajs.com/integrations/cloudflare-worker: Documents limits on code generation and file serving.
- hono.dev/docs/concepts/web-standard: Hono documents a wider range of deployment targets.
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.
- news.ycombinator.com/item?id=45995974: Author's write-up on type inference, Eden, OpenAPI and TechEmpower results
- pkgpulse.com/guides/hono-vs-elysia-2026: Faster than Hono on Bun; smaller ecosystem; harder to test middleware in isolation
- encore.dev/articles/elysia-vs-hono: Comparison by a competing vendor: Elysia fits Bun with Eden types, Hono is more portable
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.
- elysiajs.com/essential/validation: TypeBox and Standard Schema support with type inference.
- elysiajs.com/eden/overview: Typed clients and narrowed error responses.
- elysiajs.com/patterns/error-handling: Custom field messages and typed errors.
- elysiajs.com/llms.txt: Documentation index for coding agents.
- github.com/arjaythedev/js-runtimes-benchmark: Independent Bun and Node load tests.
- reddit.com/r/bun/comments/1vrinax/bun_elysia_is_reliable: Production users describe middleware and plugin layering friction.
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.
- github: 283 commits, 16 releases, 307 open issues, and 110 open pull requests.
- next.elysiajs.com/blog/elysia-20-rc: Funded full-time work and active development of the 2.0 rewrite.
- github.com/elysiajs/elysia/releases/tag/1.4.30: Sets 1.4.x to security updates only.
- github.com/elysiajs/elysia/actions/workflows/publish.yml: Recent publications are concentrated under one account.
- github.com/elysiajs/elysia/issues/1961: Production migration trial found gaps in the codemod.
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.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Top three in satisfaction, with Hono and Nitro
- vercel.com/docs/frameworks/backend/elysia: Vercel documents Elysia as a supported backend framework
- news.ycombinator.com/item?id=45995974: Production claims, including TipTap, come mostly from the author
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.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Top-three satisfaction among surveyed backend frameworks.
- vercel.com/docs/frameworks/backend/elysia: Vercel offers zero-configuration deployment.
- github.com/elysiajs/elysia/discussions/1312: Developers describe deployments at CS.MONEY and Papernest.
- thoughtworks.com/radar/languages-and-frameworks/elysiajs: April 2025 Assess rating, with a backend-for-frontend use case.
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.
- advisories: 5 advisories in 24 months, 1 critical and 3 high
- osv.dev/vulnerability/GHSA-hxj9-33pp-j2cc: Critical prototype pollution, fixed in 1.4.17
- sentinelone.com/vulnerability-database/cve-2025-66456: Could be chained with the cookie-config injection for remote code execution
- npm dependencies: 4 runtime dependencies, MIT licence
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.
- npm.dependencies, npm.license, advisories.recent, and scorecard: Four dependencies, MIT, five collected advisories, and no Scorecard result.
- github.com/advisories/GHSA-hxj9-33pp-j2cc: Critical schema validation issue fixed in 1.4.17.
- github.com/advisories/GHSA-9643-4qgh-g8mx: High-severity parsing issue fixed in 1.4.29.
- github.com/elysiajs/elysia/releases/tag/1.4.29: Parsing fix shipped before the advisory appeared.
- github.com/elysiajs/elysia/releases/tag/1.4.31: November security fixes extend beyond the collector snapshot.
- github.com/elysiajs/elysia/blob/1.4.32/.github/workflows/publish.yml: GitHub Actions tests the package and publishes with provenance.
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.