
I’m 13 and I built a Bun framework that’s 2x faster than Express 🚀
It’s a 97kB (2.4kB gzipped) Bun-native framework that hits 21,748 req/s . 👑 Why PrinceJS? Most "fast" frameworks are just bare-bones routers. PrinceJS is a Super-Framework . It’s tiny but has "batteries included": ✅ Built-in SQLite ORM (Powered by Bun.sqlite) ✅ Native Cron Scheduler (No extra npm packages needed) ✅ Functional JSX Rendering (Clean UI without the React bloat) ✅ OpenAPI/Swagger Generation (Auto-sync your docs) ✅ Validation with Zod ⚡ The Benchmarks (oha -c 100 -z 30s) On an Intel i7-6600U, PrinceJS matches the giants: Framework Req/s Size (Gzipped) PrinceJS 21,748 2.4 kB Hono 22,124 7.5 kB Elysia 25,312 64.8 kB Express 9,325 ~2 MB 🛠️ Minimalist DX typescript 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);
Continue reading on Dev.to JavaScript
Opens in a new tab


