Dwex Logo
Powered by Bun

Build APIs blazingly fast

A modern TypeScript framework for building server-side applications with Bun. Leverage decorators, dependency injection, and modular architecture for a superior developer experience.

Terminal
$bun create dwex

Everything you need to build fast

Dwex provides a complete toolkit for building modern server-side applications with TypeScript and Bun.

Bun-Native Performance

Built specifically for Bun runtime, leveraging its blazing-fast performance and modern JavaScript features for optimal speed.

Decorator-Based Routing

Intuitive decorator API (@Get, @Post, @Put, @Delete) for defining routes with clean, maintainable syntax.

Dependency Injection

Built-in DI container with support for singleton, request, and transient scopes. Write testable, modular code.

Modular Architecture

Organize your application into reusable modules with @Module decorator for better code organization and scalability.

Guards & Middleware

Powerful route protection and request/response processing with guards and middleware for authorization and validation.

Built-in Utilities

Comprehensive utilities including body parser, cookie parser, CORS, and more - batteries included.

TypeScript-First

Designed from the ground up with TypeScript, providing excellent type safety and developer experience.

Modern Developer Experience

Enjoy fast builds, hot reloading, and intuitive APIs that make building server applications a joy.

Built for performance

See how Dwex compares to other popular Node.js frameworks. Performance benchmarks measured on identical hardware.

Requests/sec

Dwex
129,966
NestJS
19,996
Express
26,116

Latency (avg)

Dwex
3.1 ms
NestJS
33.1 ms
Express
21.9 ms

Cold Start

Dwex
15 ms
NestJS
220 ms
Express
95 ms

Memory Usage

Dwex
32 MB
NestJS
105 MB
Express
48 MB

Runtime

Dwex
Bun
NestJS
Node.js
Express
Node.js

TypeScript

Dwex
NestJS
Express

Decorators

Dwex
NestJS
Express

Dependency Injection

Dwex
NestJS
Express

Module System

Dwex
NestJS
Express

* Benchmarks are approximate and may vary based on specific use cases and configurations. Measured using standard HTTP benchmarking tools.