OSS Tanbou

build TypeScript web APIs around Bun with end-to-end type safety, runtime validation, and Web Standard adapters

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
19,216
Primary language
TypeScript
License
MIT
Repository last updated
Oct 2, 2026
On this page

Overview

Elysia is a TypeScript web framework designed primarily around Bun. It combines route definitions, runtime schema validation, and request/response type inference to keep server and client contracts aligned. Version 1.4.30 is a security-maintenance release for the 1.4 line while feature development moves to Elysia 2.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Keep request and response contracts tied to TypeScript routes

Elysia combines TypeScript types with runtime schemas so route handlers, validation, and client integration can share a consistent contract.

Sources: [1][2]

Build compact HTTP services with Bun as the primary runtime

The README positions Elysia as Bun-powered, while the package also exposes Web Standard and Cloudflare Worker adapters alongside the Bun adapter.

Sources: [1][2]

Exercise handlers with Web Standard Request objects without listening on a socket

The package exposes adapter and handler paths that work with Web Standard requests, allowing local route validation without leaving a network listener running.

Sources: [2]

Best fit

Fits Bun and TypeScript backends that want type-centered API design

It is useful when schema validation, runtime behavior, server types, and client contracts should stay close together and API type drift should be minimized.

Sources: [1]

Before adoption

Treat 1.4.x as a security-only maintenance line

The 1.4.30 release explicitly states that 1.4.x will receive security updates only and no new features, making patch updates the priority for existing 1.4 applications.

Sources: [3]

Evaluate Elysia 2 as a separate migration line

Current feature development has moved to Elysia 2 / kiana beta. Production migrations should validate plugin and API compatibility and runtime requirements separately.

Sources: [3]

Align Bun and TypeScript versions with package peer requirements

The 1.4.30 package declares TypeScript 5+ and optional @types/bun 1.2+ peer requirements, so CI and local runtime versions should remain aligned.

Sources: [2]

Official sources

  1. [1]Elysia 1.4.30 README(2026-10-04)
  2. [2]Elysia 1.4.30 package metadata(2026-10-04)
  3. [3]Elysia 1.4.30 release(2026-10-04)
  4. [4]Elysia MIT license(2026-10-04)
Supplemental curator note

The 1.4.30 release states that the 1.4.x line will receive security updates only while feature development moves to Elysia 2. Keep existing 1.4 applications patched and evaluate 2.0 migration compatibility separately rather than mixing beta changes into production.

Try it in 3 steps

  1. 1

    Add Elysia 1.4.30 to a Bun project

    Pin stable 1.4.30, which is on security-maintenance status.

    mkdir -p elysia-demo && cd elysia-demo && bun init -y && bun add elysia@1.4.30
  2. 2

    Create a minimal route without opening a listener

    Handle a Web Standard Request directly so route behavior can be checked without starting a server.

    printf 'import { Elysia } from "elysia";\nconst app = new Elysia().get("/", () => "hello");\nconst res = await app.handle(new Request("http://localhost/"));\nconsole.log(await res.text());\n' > elysia-demo/index.ts
  3. 3

    Run the route check with Bun

    Confirm that hello is printed. Pin the Bun version and plugin set before production rollout.

    bun run elysia-demo/index.ts
Check the official README

Growth

Growth trends · Last 30 days

19,216 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
0
Open PRs
98

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • framework
  • typescript
  • bun
  • web
  • http
  • server
Stars
19,216
Forks
610
Watchers
54
Open issues
290
Contributors
115
Owner type
Organization
Primary language
TypeScript
License
MIT
Repository last updated
Oct 2, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?