Build faster. Ship with confidence.
Find a perfect balance between simplicity and power, with type-safe validation, lightening-fast routing and elegant middleware definition. Raptor has everything you need to build your next application.
Engineered for Scale
Each and every feature has been carefully designed to create an exceptional developer experience with breakneck performance out of the box.
Modular by design, minimal by default
All you really need is the Kernel and it's tiny - at just under 50KB. Add additional components when you need them, such as routing or validation. Ship to production what you actually use.
Lightning-fast radix-tree routing
Fast route matching powered by radix-trees. Handles thousands of routes in microseconds with a type-safe API, keeping complex routing patterns a piece of cake.
Intuitive Request Validation
With an intuitive pipe-separate validation syntax and full flexibility of Standard Schema, you can mix and match between Raptor's built-in rules and your favourite validation library, such as Zod, Valibot.
Runtime agnostic, truly swappable
With support for Deno, Bun, and Node.js and identical APIs across all runtimes, your code works the same whether you're deploying to Deno Deploy, a Node server, or Bun's edge runtime.
TypeScript-first
Built in TypeScript, for TypeScript. Enjoy autocomplete that actually helps, type inference that just works, and error messages you can understand. If you prefer JavaScript, everything works beautifully without a single type annotation.
Middleware at the core
Inspired by the best parts of Express and Koa with full support for async/await, Raptor's middleware provides a consistent, familiar interface for building complex web applications.
Cheetah speed
Raptor is the fastest and most efficient middleware framework for Deno, with performance that only gets better as it scales.
Latency for a 200 middleware stack application
Benchmarked on an Apple M3 Pro running Deno 2.7.2.
See more benchmark results