typescript-inject
v0.0.8
Published
Typescript Dependency Injection Library
Downloads
12
Readme
Typescript Dependency Injection Library
Goal
The goal of this package is to provide a simple Dependency Injection library without decorators to Typescript
Examples
Registering instances
register('ConfigurationService', () => new ConfigurationService());
Using instances
const configurationService = inject<ConfigurationService>('ConfigurationService');