Packages
Official MiiaJS packages for auth, databases, API docs, server adapters, and CLI.
MiiaJS is modular — install only what you need.
Server adapters
| Package | Description |
|---|---|
@miiajs/node-server | Node.js HTTP server adapter |
@miiajs/uws-server | uWebSockets.js HTTP server adapter |
Bun and Deno are supported out of the box — no adapter needed.
Auth
| Package | Description |
|---|---|
@miiajs/auth | Strategy-based authentication, JWT, @Public decorator |
Database
| Package | Description |
|---|---|
@miiajs/drizzle | Drizzle ORM integration (PostgreSQL, MySQL, SQLite) |
@miiajs/mongoose | MongoDB integration via Mongoose with injectable models |
@miiajs/papr | MongoDB integration via Papr |
API Documentation
| Package | Description |
|---|---|
@miiajs/swagger | OpenAPI 3.1 spec generation and Swagger UI |
Tooling
| Package | Description |
|---|---|
@miiajs/cli | CLI for dev, build, start, check, and project scaffolding |