Depsin
About
Depsin is a lightweight dependency injector for JavaScript/Typescript.
Installation
You can install depsin using npm or yarn:
$ npm install depsin
$ yarn add depsin
If you use Typescript and want to use the decorator @inject
you must add in your tsconfig.json
{
"compilerOptions": {
...
"experimentalDecorators": true,
...
}
}