A modern TypeScript framework for building server-side applications with Bun. Leverage decorators, dependency injection, and modular architecture for a superior developer experience.
bun create dwexDwex provides a complete toolkit for building modern server-side applications with TypeScript and Bun.
Built specifically for Bun runtime, leveraging its blazing-fast performance and modern JavaScript features for optimal speed.
Intuitive decorator API (@Get, @Post, @Put, @Delete) for defining routes with clean, maintainable syntax.
Built-in DI container with support for singleton, request, and transient scopes. Write testable, modular code.
Organize your application into reusable modules with @Module decorator for better code organization and scalability.
Powerful route protection and request/response processing with guards and middleware for authorization and validation.
Comprehensive utilities including body parser, cookie parser, CORS, and more - batteries included.
Designed from the ground up with TypeScript, providing excellent type safety and developer experience.
Enjoy fast builds, hot reloading, and intuitive APIs that make building server applications a joy.
See how Dwex compares to other popular Node.js frameworks. Performance benchmarks measured on identical hardware.
| Feature | Dwex | NestJS | Express |
|---|---|---|---|
| Requests/sec | 129,966 | 19,996 | 26,116 |
| Latency (avg) | 3.1 ms | 33.1 ms | 21.9 ms |
| Cold Start | 15 ms | 220 ms | 95 ms |
| Memory Usage | 32 MB | 105 MB | 48 MB |
| Runtime | Bun | Node.js | Node.js |
| TypeScript | ✓ | ✓ | — |
| Decorators | ✓ | ✓ | — |
| Dependency Injection | ✓ | ✓ | — |
| Module System | ✓ | ✓ | — |
* Benchmarks are approximate and may vary based on specific use cases and configurations. Measured using standard HTTP benchmarking tools.