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.
- 106
- TypeScript
- MIT
- 16 h ago
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.
Drizzle ORM integration for AsenaJS on Bun: @Database services, type-safe @Repository classes and declarative @Transaction, with PostgreSQL, MySQL and bun-sql drivers.
Command-line tool for AsenaJS: scaffold projects with your choice of adapter, generate controllers and services, run the dev server and bundle for production on Bun.
Documentation site for AsenaJS, the IoC web framework for Bun: guides, adapters, packages, testing, migration notes, benchmarks and a generated llms.txt, served at asena.sh.
Hono-based HTTP and WebSocket adapter for AsenaJS on Bun, bringing the Hono ecosystem and middleware to Asena's decorator-driven controllers; hono and zod are peer dependencies.
Native Bun HTTP and WebSocket adapter for AsenaJS, built only on Bun's own APIs with zero runtime dependencies; zod is the only peer dependency.
Winston-based logger for AsenaJS on Bun with colored, timestamped console output and profiling, plugged into the framework as its logger.
Kafka integration for AsenaJS on Bun: decorator-based @Kafka service client and a microservice transport built on kafkajs.
Redis integration for AsenaJS on Bun: injectable @Redis service client, multi-pod WebSocket transport and Redis Streams microservice transport.
OpenAPI 3.1 spec generation for AsenaJS on Bun from routes, context contracts and Zod validators, with built-in Scalar or Swagger API docs UI.
OpenTelemetry integration for AsenaJS on Bun: automatic HTTP tracing, method-level auto-tracing of services and controllers, metrics and distributed tracing.
Authentication for AsenaJS on Bun: native opaque sessions or Better Auth behind one contract, @Protected/@Roles guards enforced before validators, cookie & Bearer, CSRF, session rotation and WebSocket auth.
Agent Skills that teach AI coding assistants (Claude Code, Cursor, Copilot, Windsurf) to write correct AsenaJS code on Bun: controllers, DI, WebSocket, microservices, testing and CLI.
Adapter conformance tests for AsenaJS on Bun: one scenario set for routing, errors, middleware, validation, streaming, static files, WebSocket and lifecycle, run against ergenecore, Hono or any third-party adapter.
Benchmark suite for AsenaJS: eight framework setups (Asena on Ergenecore and Hono, Elysia, Hono, Fastify, Express, NestJS on Fastify and Express) across 12 Bun/Node targets, one frozen contract, wrk on an isolated CPU core.