Skip to content

Empack

A lightweight framework built on Fastify.

Description

Empack is built on top of Fastify, Empack provides a familiar development model with TypeScript decorators, dependency injection, and CQRS — while maintaining minimalism and full control.

Empack is fully compatible with the Fastify ecosystem, so you can use your favorite libraries and tools without modification.

✨ Key Features

  • ⚡ A DI container powered by Inversify (supports singleton, transient, and request-scope)
  • 🔌 Middleware and controller injection with shared request di-container
  • 🧩 CQRS via built-in Mediator pattern (with @HandleFor() decorators)