bearn
A fast, minimal Node.js backend microframework with developer-first ergonomics, decorator-based routing, and type-safe validation with Zod.
- Fast
- Zero Dependencies
- Type-Safe with Zod
- Minimal Setup

Powerful Features, Simple Implementation
Experience the perfect balance of performance and developer experience. Built for modern TypeScript developers who value both speed and safety.
Lightning Fast Performance
Engineered for exceptional speed with zero overhead. Our minimal abstractions and carefully chosen defaults ensure your API runs at peak efficiency.
Zero Runtime Dependencies
Keep your project lean and secure with no external runtime dependencies. We only include Zod for robust type validation - nothing else.
End-to-End Type Safety
Built on Zod's powerful schema validation, ensuring complete type safety from your API endpoints to your client code. Catch errors before they happen.
Intuitive Decorator Routing
Write cleaner, more maintainable code with our optional decorator-based routing system. Perfect for developers who prefer class-based architectures.
Flexible Routing Options
Choose between file-based routing for simplicity or programmatic routes for more control. Both approaches offer clean, organized request handlers.
Quick Development Setup
Get your API up and running in minutes, not hours. Our streamlined setup process eliminates unnecessary configuration and boilerplate.
4x faster than Express
Built for raw performance, without compromising simplicity
HTTP Performance
JSON response benchmark
Latency
Average response time
Framework Comparison
Get Started
Zero runtime dependencies. Only zod for type-safe validation.
Installation
Installation
Basic Usage

About bearn
Named after the French carrier Béarn and inspired by her representation in Azur Lane, bearn is a backend framework that embraces adaptability and evolution. Like its namesake, it combines power with versatility - staying minimal and lightweight while providing robust capabilities for modern backend development.
- Zero runtime dependencies except Zod for type-safe validation
- Developer-first ergonomics with predictable performance
- Flexible routing through file-based, programmatic, or decorator approaches
Trusted by Industry Leaders
Join forward-thinking companies already using our framework to build exceptional products