Injection is a powerful inversion of control container that is widely used in the midway framework and brings good user experience.
Installation
$ npm install injection reflect-metadata --save
Node.js >= 10.0.0 required.
Injection requires TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.