Alberto Varela

DIOD - Dependency injection lib for Typescript, Node.js and browser

by
A very opinionated and lightweight (under 2kB minified and gzipped) inversion of control container and dependency injector for Node.js or browser apps. It is available for vanilla Javascript usage but its true power will be shown by building Typescript apps.

Add a comment

Replies

Best
Alberto Varela
Dependency injection is a recurrent pattern in complex applications, and each day it is becoming more common to see it applied with Typescript. But TS has some quirks when comparing with classic languages, like Java or C#, that we need to bear in mind and that pushed me to reinvent the wheel by creating this new-brand DI library. Do not hesitate to tell me your opinion about it, thanks in advance.