PrinceJS
Minimal Bun framework with Scalar docs, built by a 13yo
PrinceJS – Ultra-minimal Bun web framework with built-in OpenAPI and Scalar docs
Summary: PrinceJS is a 4.4kB gzipped Bun framework offering top-3 benchmark performance with built-in OpenAPI 3.0 spec generation, Scalar API docs, Zod validation, JWT authentication, WebSockets, SSE, sessions, compression, and deploy adapters for Vercel, Cloudflare Workers, and Deno.
What it does
It provides a minimal Bun web framework that auto-generates OpenAPI specs and Scalar docs from routes and validation, supporting authentication, real-time protocols, and deployment adapters.
Who it's for
Developers seeking a lightweight, high-performance Bun framework with integrated API documentation and validation features.
Why it matters
It streamlines API development by synchronizing routes, validation, and documentation while maintaining top-tier performance in a compact package.