Re:Chibi Izumi: Phased dependency injection for TypeScript
by traspler on Thursday November 06, 2025 @07:21AM
(#45834409)
What's the "Non-invasive" metric? How is it less invasive than TSyringe or just as non-invasive as Awilix?
[ Parent
| on HN ]
Re:Chibi Izumi: Phased dependency injection for TypeScript
by pshirshov on Thursday November 06, 2025 @07:24AM
(#45834438)
> What's the "Non-invasive" metric?
You can use it with code you can't modify (decorators are just convenience helpers, you can do same through bindings DSL with bit less type safety).
TSyringe depends on reflect-metadata and, if my understanding is correct, forces you to use its decorators.
The comparison table is completely subjective and made with just several glances at the readmes of the mentioned libraries. The point was to showcase phased DI for Typescript.