Softwr
Elysia logo

Elysia

TypeScript web framework for Bun with schema-driven validation, types and OpenAPI

Elysia is free to use. Elysia is a free, MIT-licensed TypeScript framework for building HTTP servers, designed around Bun. Softwr lists it under Web Development. Elysia is available on Linux, macOS, Windows.

Overview

What is Elysia?

Elysia is a web server framework for TypeScript. Its site calls it supercharged by Bun, and a runtime adapter lets it run on other runtimes including Node.js. Routes, WebSockets and streaming are defined in a chained style, and one schema drives request validation, type inference and OpenAPI documentation. It also shares types between client and server without code generation, similar to tRPC. The distinguishing point is the single source of truth design. You can use the built-in validation or bring Zod, Valibot, ArkType or Effect through Standard Schema. The homepage quotes a TechEmpower Round 22 plaintext result from October 2023 showing Elysia on Bun ahead of Express and Fastify, but that benchmark is old. It suits TypeScript teams building APIs on Bun. There is no cost; the licence is MIT.

What people use it for

  • A TypeScript API on Bun that needs generated docs
  • A full-stack project sharing types between server and client
  • A service with WebSockets and streaming
  • Replacing Express where schema validation is wanted

The honest half

Where does Elysia fall short?

The limits buyers hit most with Elysia: it is designed around Bun, and running on Node.js needs an extra adapter package; and the benchmark on the homepage dates from 2023, so current relative speed needs your own testing. Each is concrete and checkable: the half of a review a vendor will not write.

  • It is designed around Bun, and running on Node.js needs an extra adapter package.
  • The benchmark on the homepage dates from 2023, so current relative speed needs your own testing.
  • The homepage compares speed with Express, Fastify and Nest, but gives no data on ecosystem size, so check that plugins you need exist.
  • The framework is maintained as an open source project and the site lists no paid support plan, so production issues rely on community help.
  • Features are defined by chaining calls on one object, which suits small services but means route files in a large codebase need their own structure.

Cross-shopped

What are the alternatives to Elysia?

The closest alternatives to Elysia are Hono, Fastify and NestJS. Each is a tool buyers genuinely weigh against it, with the reason why.

Pricing

How much does Elysia cost?

Elysia is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Elysia

Free

  • MIT licence
  • No paid tier

Capabilities

What can Elysia do?

Elysia lists 7 features, including schema-driven validation, type inference and OpenAPI generation.

  • Schema-driven validation

    Validates and normalises requests

  • Type inference

    Types come from the schema

  • OpenAPI generation

    Documentation from schema

  • End-to-end types

    Shares types client to server without code generation

  • WebSockets and streaming

    Built into route definitions

  • Standard Schema support

    Zod, Valibot, ArkType and Effect

  • Runtime adapters

    Node.js adapter available

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Is Elysia free?

Yes, it is MIT licensed.

Does it run on Node.js?

The documentation provides a Node adapter.

Can I use Zod?

Yes, through Standard Schema support.

Share

Keep looking

Where to go from Elysia

Best Web Development software for

Compare Elysia with

Other Web Development software

  • Low-overhead Node.js web framework with JSON Schema validation and plugins

    Free plan12 researched notes
  • Small web framework built on Web Standards that runs on any JavaScript runtime

    Free plan12 researched notes
  • A progressive Node.js framework for efficient, reliable and scalable server-side apps

    Free plan11 researched notes
  • MIT licensed toolchain for building reusable Web Component libraries in TypeScript

    Free plan13 researched notes
  • JavaScript with syntax for types

    Free plan15 researched notes
  • Google's TypeScript framework for building web applications

    Free plan12 researched notes
  • Batteries-included TypeScript framework for Node.js with a Laravel-like structure

    Free plan11 researched notes
  • Static site generator from Meta for documentation sites

    Open source13 researched notes
  • Accessible React component library with a style-props API

    Open source13 researched notes
  • React component library of over a hundred components with hooks, under the MIT licence

    Open source14 researched notes
  • Full-stack JavaScript framework for building modern web applications

    Free plan13 researched notes
  • Incremental bundler for JavaScript written in Rust

    Open source11 researched notes
  • Rust-based web bundler with a webpack-compatible API and fast builds

    Free plan11 researched notes
  • CSS with superpowers

    Free plan8 researched notes
  • Free PHP web application framework and set of reusable PHP components

    Free plan12 researched notes
  • Material Design component framework for Vue, MIT licensed with paid support subscriptions available

    Open source14 researched notes
  • Visual low-code builder for web and mobile apps with full code access

    11 researched notes
  • Premium WordPress caching and speed plugin sold by site count with no free version

    From $59.95/yr11 researched notes

Softwr does not host reviews and shows no star rating for Elysia, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Elysia