Packages

Official MiiaJS packages for auth, databases, API docs, server adapters, and CLI.

MiiaJS is modular — install only what you need.

Server adapters

PackageDescription
@miiajs/node-serverNode.js HTTP server adapter
@miiajs/uws-serveruWebSockets.js HTTP server adapter

Bun and Deno are supported out of the box — no adapter needed.

Auth

PackageDescription
@miiajs/authStrategy-based authentication, JWT, @Public decorator

Database

PackageDescription
@miiajs/drizzleDrizzle ORM integration (PostgreSQL, MySQL, SQLite)
@miiajs/mongooseMongoDB integration via Mongoose with injectable models
@miiajs/paprMongoDB integration via Papr

API Documentation

PackageDescription
@miiajs/swaggerOpenAPI 3.1 spec generation and Swagger UI

Tooling

PackageDescription
@miiajs/cliCLI for dev, build, start, check, and project scaffolding