I’m 13 and I built a Bun framework that’s 2x faster than Express 🚀

Published: (February 27, 2026 at 11:05 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

A 97 kB (2.4 kB gzipped) Bun‑native framework that achieves 21,748 req/s.
PrinceJS is a “Super‑Framework”: tiny yet packed with batteries‑included features.

Features

  • ✅ Built‑in SQLite ORM (powered by Bun.sqlite)
  • ✅ Native cron scheduler (no extra npm packages)
  • ✅ Functional JSX rendering (clean UI without the React bloat)
  • ✅ OpenAPI/Swagger generation (auto‑sync your docs)
  • ✅ Validation with Zod

Benchmark (Intel i7‑6600U)

FrameworkReq/sSize (gzipped)
PrinceJS21,7482.4 kB
Hono22,1247.5 kB
Elysia25,31264.8 kB
Express9,325~2 MB

Example

import { prince } from "princejs";
import { Html, Body, H1, render } from "princejs/jsx";

const app = prince();

app.get("/", () => render(
  Html(Body(H1("Hello from PrinceJS!")))
));

app.listen(3000);
0 views
Back to Blog

Related posts

Read more »