javascript

Container-ts, Dependency Injection for Typescript using ES6 Annotations

During the last weeks I've been working in a personal Node project using Typescript. As the number of components grew I started to struggle when any update in the application bootstrap was required. Since most of my refactors are of the extraction type, this happened quite often. This is clearly the type of situations where a Dependency Injection Container comes in handy. I dug into existing solutions but none of them looked like what I had in mind, so I decided to write my own. I have some experience writing…

Keep reading