typedi - Dependency Injection for TypeScript.

  •        130

Dependency injection for TypeScript

https://github.com/pleerock/typedi

Tags
Implementation
License
Platform

   




Related Projects

typedi - Simple yet powerful dependency injection tool for JavaScript and TypeScript.

  •    TypeScript

TypeDI is a dependency injection tool for JavaScript and TypeScript. Using TypeDI you can build well-structured and easily tested applications. Then you can call Container.get(SomeClass) from anywhere in your application and you'll always have the same instance of SomeClass.

injection-js - Dependency injection library for JavaScript and TypeScript in 5

  •    TypeScript

Dependency injection library for JavaScript and TypeScript in 5.2K. It is an extraction of the Angular's dependency injection which means that it's feature complete, fast, reliable and well tested.Up-to-date with Angular 4.1.

ts-express-decorators - :triangular_ruler: A TypeScript Framework on top of Express

  •    TypeScript

Ts.ED is a framework on top of Express to write your application with TypeScript (or in ES6). It provides a lot of decorators to write your code. Important! TsExpressDecorators requires Node >= 6, Express >= 4, TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.

InversifyJS - A powerful and lightweight inversion of control container for JavaScript & Node

  •    TypeScript

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript. InversifyJS is a lightweight (4KB) inversion of control (IoC) container for TypeScript and JavaScript apps. An IoC container uses a class constructor to identify and inject its dependencies. InversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices.

node-di - Dependency Injection framework for Node.js

  •    CoffeeScript

I don't actively maintain this project, in favor of angular/di, which is heavily influenced by node-di and thus the migration should be easy. Eventually angular/di will be published to NPM as di@2.0. There are two things - Dependency Injection pattern (aka Inversion of Control) and Dependency Injection framework.


Aura.Di - Dependency Injection System

  •    PHP

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more. This package is installable and PSR-4 autoloadable via Composer as aura/di.

awilix - Extremely powerful Inversion of Control (IoC) container for Node.JS

  •    TypeScript

That example is rather lengthy, but if you extract things to their proper files it becomes more manageable.

Swinject - Dependency injection framework for Swift with iOS/macOS/Linux

  •    Swift

Swinject is a lightweight dependency injection framework for Swift. Dependency injection (DI) is a software design pattern that implements Inversion of Control (IoC) for resolving dependencies. In the pattern, Swinject helps your app split into loosely-coupled components, which can be developed, tested and maintained more easily. Swinject is powered by the Swift generic type system and first class functions to define dependencies of your app simply and fluently.

SimpleInjector - An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success

  •    CSharp

The goal of Simple Injector is to provide .NET application developers with an easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

toothpick - A scope tree based Dependency Injection (DI) library for Java

  •    Java

Toothpick is a scope tree based Dependency Injection (DI) library for Java. It is a full-featured, runtime based, but reflection free, implementation of JSR 330.

HK2 - A light-weight and dynamic dependency injection framework

  •    Java

HK2 is a light-weight and dynamic dependency injection framework. HK2 is an implementation of JSR-330 in a JavaSE environment. JSR-330 defines services and injection points that can be dynamically discovered at runtime and which allow for Inversion of Control (IoC) and dependency injection (DI).

IInject

  •    DotNet

IInject is a DI (Dependency Injection / IoC Container) framework that is very light weight, fast, and easy to use. It is written in C# and .NET 4.0.

provider - A mixture between dependency injection (DI) and state management, built with widgets for widgets

  •    Dart

A mixture between dependency injection (DI) and state management, built with widgets for widgets. It purposefully uses widgets for DI/state management instead of dart-only classes like Stream. The reason is, widgets are very simple yet robust and scalable.

Mugen Injection

  •    CSharp

A lightweight and fast managed IoC (Inversion of Control) and DI (Dependency Injection) with support for constructor, property, field, and method call injection

Dependency Injection Service Provider (DISP)

  •    

Dependency Injection Service Provider (DISP) is a wrapper or an interface that aim to allow .NET developers use one of the inversion of control (IoC) containers out there such as StructureMap or Ninject from a high level of abstraction, using the same interface and classes wi...

LogikBug's IoC Container

  •    DotNet

LogikBug's IoC dependency injection container is very light weight. Finding a dependency injection container to suite my needs seemed rather cumbersome. So, I wrote this DI Container to suite my needs. There are many ways to register types, including scanning assemblies...