A lightweight dependency injection container for TypeScript projects, inspired by Angular's Injector.
Angular-Style Injector is a lightweight dependency injection container that brings Angular's powerful dependency injection patterns to any TypeScript project. It provides a familiar API for managing dependencies, enabling cleaner architecture and easier testing in applications outside the Angular ecosystem.
@Injectable) and tokens (InjectionToken) for dependency declaration.useClass, useValue, useFactory, and useExisting providers for flexible dependency configuration.optional, self, and skipSelf options for fine-grained control over dependency resolution.multi flag.The project aims to make Angular's robust dependency injection system accessible and usable in any TypeScript environment, promoting loose coupling and testability without framework lock-in.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.