DEV Community

loading...

Discussion on: Inversion of control and Dependency injection in Typescript

Collapse
thohoh profile image
Alex Kozlov

Thank you for the article.

There's also a library called "container-ioc" and is also for Javascript/Typescript & Node.js apps.
It has almost 1 to 1 Angular 4 API and makes use of providers for registration.

I found it more flexible and easier to use in most of my projects.
npmjs.com/package/container-ioc

Collapse
samueleresca profile image
Samuele Resca Author

Hi, I will definitely try it.
Thank you for the advice :)

Samuele