Archive this repo
This repo is evidently unmaintained. Please archive the repo so people know not to use it on projects.
yes is better. any alternative?
yes is better. any alternative?
I switched to inversify
@chriskuech @alfiadoDev Sadly it is a sad state of affairs for many TypeScript DI libraries. Inversify maintenance is not much better, if you see their GitHub repo, without counting a small release v6.03 made just yesterday, the previous one v6.01 was done 3 years ago. On top of that, there are some very concerning issues related to the future of the project (See here and here). Archiving tsyringe I think is strong measure for a project with 5K stars on GitHub and 350K NPM downloads weekly. Before that, in my opinion it would be better to try searching for new maintainers among contributors or anyone else willing to help. And this is something Inversify is doing. If you go to their issues page, the first thing you see is the Maintainers wanted issue pinned on the top.
@eydelrivero yes, I have since observed the same. If anyone comes to this post recommending a DI solution for TS, I would instead recommend async_hooks and lazy instantiation with closures.
hey guys, inversify has a new group of working members now, things will shift in a good direction. I will keep the pinned issue pinned so that other people who want to join can do so.
@PodaruDragos Very glad to hear such a reassurance from someone actively working on it 👍
yes is better. any alternative?
Hey everyone, I have been working on a library called di-wise. Welcome to try it out.
I worked on a project called Needle DI. It does not depend on reflection metadata and features tree-shakeable injections tokens, to keep bundle size low when having multiple entry points in a project (e.g. web projects or serverless functions). Something that I missed in Inversify.
Feel free to share any feedback.
I'm helping out maintaining this repo. Will close this issue but please reopen if you have any questions.