GitHub repository: virgs/conditional-injector
Primary language: TypeScript
Description: It's a mix of dependency injection and factory method. It gives you an instance of one subclasses of a class based on an optional predicate.