3 ms·Show HN: Dependency injection container library for JavaScript/TypeScript2 points by joaoneto 3y agorizky05 3y ago[dead]evnix 3y agoJust curious, why would you do this instead of, export const someDep = new Dependency(); You can export a lot more of these statements. and use it everywhere as these act as singletons in lets say a node JS environment.