prostojs

prostojs/infact

Instance Factory and Instance Registry for Metadata based Dependency Injection scenarios

TypeScript
0
0
MIT License

Infact is a lightweight, metadata-driven dependency injection container for TypeScript that prioritizes flexibility over convention. It provides instance factories and registries with support for singleton lifecycles, scoped instances, global sharing, circular dependencies, and class substitution, all without imposing a specific decorator pattern. Developers define class metadata through a `describeClass` callback, enabling integration with custom metadata sources like Reflect, manual registries, or code generation. The library is ideal for TypeScript projects needing fine-grained control over dependency resolution and lifecycle management.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

mav-rik's profile
mav-rik
71 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet