I’ve been building PrinceJS over the last few months, and today it’s officially among the fastest Bun frameworks available.
Benchmarked with oha -c 100 -z 30s, it hits 21,748 req/s, placing it just behind Elysia (~25k) and Hono (~22k), and well ahead of Express (~9k).
🧰 What’s Inside:
- Built-in middleware – CORS, logger, rate limiting, static file serving
- Validation – powered by Zod, integrated at the framework level
-
OpenAPI auto-docs –
/docsendpoint out of the box -
Helpers –
cache(),upload(),email(),cron(), all tree-shakable - JSX support – render HTML directly if needed
Everything is modular, lightweight, and designed for real-world use.
I built this on my school laptop (i7-6600U, 8GB RAM) and optimized it for speed without bloat.
If you're working with Bun and want a clean, fast, full-featured framework — give PrinceJS a try.
🚀 Get Started in Seconds:
bun create princejs my-api
cd my-api
bun dev
📂 GitHub: https://github.com/MatthewTheCoder1218/princejs
⭐ Star it if you’re into fast, clean, open-source tools!
Top comments (0)