3 ms·
ArchieJs (https://github.com/archiejs/ https://github.com/archiejs/) Langauge: NodeJS Brief: A minimal dependency injection framework for nodejs Details: A n
by navalsaini 10y ago
ArchieJs (https://github.com/archiejs/ https://github.com/archiejs/)
Langauge: NodeJS
Brief: A minimal dependency injection framework for nodejs
Details: A nodejs dependency injection framework. Main advantage - (1) forces you to think in decoupled modular logic (also follow TDD practices), (2) better reusability of modules across years
Why does nodejs need dependency injection?
I think, for above 2 points. Writing DI modules allows better injection for unit testing in other languages; same hold true for nodejs - where better defined interfaces help out in unit testing.
It would be great to join hands with any independent contributors or small orgs; people who can evaluate if this approach holds a promise compared to other DI frameworks in nodejs.
Personal note: Its not easy to do it myself, because I don't have any financial plans with the particular project - it was mainly done to show my expertise and learn something new while doing it.