Dependency Injection module for Vercube framework
npm install @vercube/di

!NPM Version&labelColor=%23000&color=%232e2e2e&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40vercube%2Fdi>)
!GitHub License&labelColor=%23000&color=%232f2f2f>)
!Codecov&labelColor=%23000&color=%232f2f2f>)
IoC container that powers Vercube - bind services, inject dependencies, swap implementations for tests. Simple @Inject and you're done.
- Property injection - @Inject(Service) on any class property
- Flexible binding - singletons, transients, or existing instances
- Interface support - bind interfaces to implementations with symbols
- Testing friendly - bindMock makes unit tests a breeze
``bash``
pnpm add @vercube/di
Check out the full documentation