Re:Why and how to use service injection in Node.js
by yasserf on Monday November 01, 2021 @02:26AM
(#29063597)
I mentioned in other comments, but the idea behind dependency injection is mostly to be able to support multiple different platforms (AWS / AZURE / Local) without having to do anything special.
Might actually write a mini blog about it to see what people think.
I think dependency injection is mostly a tool to allow multiple people to work on a single codebase. Rarely would you need it when you're doing stuff alone.