@bunito/app
v0.0.15
Published
Application bootstrap, lifecycle coordination, and app-level hooks for bunito.
Downloads
1,331
Maintainers
Readme
@bunito/app
Application bootstrap, lifecycle coordination, and app-level hooks for bunito.
It creates container-backed applications, resolves providers through the app, and coordinates startup and shutdown lifecycle handlers.
Installation 📦
bun add @bunito/appUsage ✨
import { App } from '@bunito/app';
import { Module } from '@bunito/container';
@Module()
class AppModule {}
const app = await App.create(AppModule);
await app.start();
await app.shutdown();License
MIT
