A powerful and tiny IoC library heavily inspired by ditox
. Lets you create highly scalable modular apps and libraries.
- Powerful TS support
- NestJS-similar API
- Does not require
reflect-metadata
- Static provider declaration and no inconsistency
- Hierarchical containers
- Multi-token support
- Works in Node and browser
- Good unit test coverage
npm install @fridgefm/inverter --save
or
yarn add @fridgefm/inverter
Example usage is shown here in examples. You can start the example app
# cli calculator app
yarn example src/examples/calc-app/
# or its debug version
yarn example:debug src/examples/calc-app/
# basic server app
yarn example src/examples/server-app/
# or its debug version
yarn example:debug src/examples/server-app/