bearn
  • Features
  • Benchmark
  • Get Started
  • Docs
  • About
Get Started
bearn

Built for speed and simplicity.

Version 0.1.5

Resources

  • Documentation
  • Examples
  • Blog

Community

  • GitHub
  • Discord
  • Twitter

Support

  • FAQ
  • Contact Us
  • Contribute

© 2025 bearn. All rights reserved.

bearn

A fast, minimal Node.js backend microframework with developer-first ergonomics, decorator-based routing, and type-safe validation with Zod.

Get Started
  • Fast
  • Zero Dependencies
  • Type-Safe with Zod
  • Minimal Setup
Chibi shipgirl mascot coding on a laptop with subtle tech vibes
迅

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

11krequests/second

JSON response benchmark

Latency

3.99milliseconds

Average response time

Framework Comparison

11,051 RPS
Bearn
11.1k RPS
12,868 RPS
Fastify
12.9k RPS
8,564 RPS
Koa
8.6k RPS
7,047 RPS
Hapi
7.0k RPS
2,813 RPS
Express
2.8k RPS

Get Started

Zero runtime dependencies. Only zod for type-safe validation.

Installation

npm install bearn@latest

Installation

npx bearn@latest init

Basic Usage

Anime shipgirl mascot from Azur Lane representing bearn framework's adaptability

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