Features

Code decoupling

IOC is now a popular practice in the industry. It is used in node. js applications, which allows the application code to be decoupled and measurable. in the development process, there is no need to care about instantiation and destruction.

Easy to expand

Injection provides the basic container object, which can be encapsulated at multiple levels, such as requestcontainer, and we also provide convenient decoration extension capabilities, simplifies complex parameters when defining a decorator.

Framework Integration

As a basic IOC container, injection can be very convenient to access different framework systems. In addition to the midway we developed, it can be applied to different frameworks such as Koa, thinkjs.