RepositoryTypeScript
AsenaJs

AsenaJs/Asena

IoC web framework for Bun with Spring Boot-style component discovery and field-based dependency injection: decorator-driven controllers, services, middleware and WebSockets, on pluggable HTTP adapters.

107stars
3forks
0issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ioc-framework

#1 Repository of the week

1
TINIX TRENDING·Topic: typescript-framework

#1 Repository of the week

3
TINIX TRENDING·Topic: di

#3 Repository of the week

Asena

Version License: MIT Bun Version

A high-performance IoC web framework for Bun runtime, bringing Spring Boot's automatic component discovery and field-based dependency injection to TypeScript.

Philosophy

Spring Boot and Quarkus have established proven patterns for enterprise application development, but developers transitioning to TypeScript often find themselves reimplementing familiar concepts or adapting to unfamiliar architectures. AsenaJS addresses this gap by bringing automatic component discovery, field-based dependency injection to the Bun ecosystem.

The framework eliminates boilerplate through automatic scanning of decorator-annotated classes, removing the need for explicit module declarations or manual wiring. Components marked with @Controller, @Service, or @Repository (via asena-drizzle package) are discovered and registered automatically, allowing developers to focus on business logic rather than configuration. This approach, combined with Bun's native performance characteristics, delivers both the familiar developer experience of Spring Boot and the speed expected from modern JavaScript runtimes.

AsenaJS is designed to make developers familiar with Spring Boot and Quarkus feel at home in the TypeScript ecosystem. As the framework evolves, we remain committed to this philosophy—bringing more proven patterns from the Java world while maintaining the performance advantages that Bun provides and flexiblity of Typescript.

Documentation

📚 Full documentation: asena.sh

For complete guides, API reference, and advanced topics, visit our documentation site.

Example Project: AsenaExample - See latest usage patterns and best practices.

Quick Start

# Create new project
bun add -g @asenajs/asena-cli
asena create my-project --adapter=hono --logger --eslint --prettier
cd my-project

# Start development
asena dev start

Visit asena.sh/docs/get-started for detailed setup instructions.

Performance

Built on Bun runtime for exceptional performance:

FrameworkRequests/secLatency (avg)
Asena + Ergenecore294,962.611.34ms
Hono266,476.831.49ms
Asena + Hono-adapter233,182.351.70ms
NestJS (Bun)100,975.203.92ms
NestJS (Node)88,083.225.33ms

Benchmark: 12 threads, 400 connections, 120s duration, Hello World endpoint

Contributing

Contributions are welcome! Submit a Pull Request on GitHub.

License

MIT License - see LICENSE file.

Support

Issues or questions? Open an issue on GitHub.

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
tsedio/tsed

:triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!

3.1k
Dec 1, 2026
RepositoryTypeScript
nestjs/nest

A progressive TypeScript framework for Node.js backends: from a small API in one file to efficient, scalable, enterprise-grade systems 🚀

77.2k
Nov 30, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryTypeScript
angular/angular

Deliver web apps with confidence 🚀

101.7k
Dec 1, 2026
RepositoryTypeScript
can1357/oh-my-pi

⌥ Coding agent with the IDE wired in. Built by Stencil Labs.

40.3k
Dec 1, 2026
RepositoryTypeScript
honojs/hono

Web framework built on Web Standards

33.2k
Dec 1, 2026
RepositoryTypeScript
jeffijoe/awilix

Extremely powerful Inversion of Control (IoC) container for Node.JS

4.2k
Nov 22, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryRust
oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

97.1k
Nov 29, 2026