Show HN: Dependency injection container library for JavaScript/TypeScript Posted by joaoneto on Wednesday March 27, 2024 @12:45PM from the show-hn dept. https://github.com/guarapi/guarapi-di-container ( 1 comment | 2 points | on HN )
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.