README.md
May 31, 2026 ยท View on GitHub
Transport-agnostic, type-safe, modular DI and CQRS framework on top of Awilix that brings module architecture with powerful CQRS capabilities to Node.js applications and React ๐ frontends.
Tip
๐ค โAnother JS framework?โ Here are my attempts to convince you to give Awilixify a try:
๐ Documentation: https://wildstyles.github.io/awilixify/
Features
- Type-Safe Module System - Complete type safety for each provider in module
- Transport Agnostic - Works with Express, Fastify, Queues, Rabbit or any other tranport
- Fullstack Module Model - Reuse the same DI module mechanism in Node.js and React applications
- Powerful CQRS - Type-safe query/command handlers with middleware pipeline, per-module mediators, and contract-based execution
- Type-Level Middleware Composition - Compose and inherit middleware with end-to-end type safety
- No Experimental Decorators Required - Uses native ES decorators (TC39 Stage 3) for routing without
reflect-metadata - NestJS-Inspired Architecture - Familiar module/controller/provider patterns
- Less Import Boilerplate For Typing - Define module dependencies once - reuse in all providers
- Lightweight - Minimal overhead, built on proven Awilix foundation
Installation
npm install awilixify awilix
yarn add awilixify awilix
pnpm add awilixify awilix