awilixify
v3.1.1
Published
Transport-agnostic modular DI and CQRS framework for Awilix with Nest-like module patterns and strict type safety
Downloads
500
Maintainers
Readme
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 awilixyarn add awilixify awilixpnpm add awilixify awilix