TypeScript Dependency Injection

Open-source TypeScript projects categorized as Dependency Injection | Edit details

Top 22 TypeScript Dependency Injection Projects

  • InversifyJS

    A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.

    Project mention: What do you need to understand about IOC containers like InversifyJS? | reddit.com/r/node | 2022-05-15
  • loopback-next

    LoopBack makes it easy to build modern API applications that require complex integrations.

    Project mention: 10 Best Node.js Framework in 2021 | dev.to | 2021-12-02

    Loopback 4: A framework for building APIs and Microservices GitHub Popularity: 3.9K Stars

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • tsyringe

    Lightweight dependency injection container for JavaScript/TypeScript

    Project mention: Algum dev NodeJS (express) ai pra me dar umas dica? | reddit.com/r/brdev | 2022-05-19
  • typedi

    Simple yet powerful dependency injection tool for JavaScript and TypeScript.

    Project mention: Dependency Injection in JavaScript: Write Testable Code Easily | dev.to | 2022-03-02

    For existing projects, or if you don't want the weight of an opinionated framework like Nest, libraries like TypeDI and TSyringe can help.

  • awilix

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

    Project mention: Repository Pattern with Typescript and Node.js | dev.to | 2021-10-24

    In real project we have some Dependency Injection library, in my case it is Awilix. Now we need realize integration of repository with out DI solution.

  • Ts.ED

    :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.

    Project mention: Where to find the examples of the Dependency Injection? | reddit.com/r/node | 2022-05-20

    Take a look at TS.Ed https://tsed.io/ they have some pretty neat DI implementations

  • foal

    Elegant and fully-featured Node.Js web framework based on TypeScript. :rocket:.

    Project mention: From Node to Ruby on Rails | news.ycombinator.com | 2021-12-16

    I would guess commodity plumbing. There's a lot of work you have to do to get something like express on par with Rails or any other Rails inspired framework for which there are many in multiple languages even in nodejs.

    imo the one I like best in nodejs is Blitzjs https://blitzjs.com/

    FoalTS https://foalts.org/ is nice too and there are several other full stack frameworks like Nestjs, FeatherJs, and redwoodjs

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • graphql-modules

    Enterprise Grade Tooling For Your GraphQL Server

    Project mention: HaloAPI.dev - Open-source GraphQL API for Infinite | reddit.com/r/halo | 2022-03-09

    Second a NextJS app is deployed to Vercel containing a GraphQL server function. This is an Apollo server that consumes the halo-graphql package using GraphQL Modules. The server also implements caching and rate limiting using GraphQL Shield.

  • marshal.ts

    A new full-featured and high-performance TypeScript framework for enterprise applications.

    Project mention: Looking For Light Weight Node API Framework | reddit.com/r/node | 2021-10-09

    Might be too heavy, but you configure the "components" https://deepkit.io/

  • reactant

    A framework for building React applications (by unadlib)

    Project mention: [AskJS] Why is multithreading not popular for web applications? | reddit.com/r/javascript | 2021-10-08

    hey, reactant-share framework with React(https://github.com/unadlib/reactant/tree/master/packages/reactant-share) is OOTB. : )

  • Ditox.js

    Powerful dependency injection container for building modular apps.

  • di-compiler

    A Custom Transformer for Typescript that enables compile-time Dependency Injection

  • diod

    A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps.

    Project mention: Can someone suggest a simple dependency injection library for TypeScript/JavaScript? | reddit.com/r/typescript | 2021-10-13

    I will suggest DIOD https://github.com/artberri/diod which is specially designed for Typescript, although it can be used with vanilla JS also.

  • di.libx.js

    💉 di.libx.js - Lightweight & non intrusive Dependency Injection module that supports async/deferred resolution and uglified support

  • entrance-decorator

    A minimal solution of dependency injection for projects that scale.

  • ditsmod

    Ditsmod is a Node.js web framework, named DI + TS + Mod to emphasize its important components: it has Dependency Injection, written in TypeScript, and designed for good Modularity.

    Project mention: github | reddit.com/r/ditsmod | 2022-01-11
  • dandi

    🌻A modular DI, MVC, and Model binding/validation framework for NodeJS and TypeScript or ES6

  • ts_injector

    Simple and lightweight injector for typescript projects.

    Project mention: Dependency Injection on Typescript | reddit.com/r/typescript | 2021-11-07
  • di

    Dependency injection library for TypeScript projects. (by ts-stack)

  • ngx-crudx

    A library for leveraging Repository pattern & Entity model in angular apps at scale.

    Project mention: Easily consume back-end API's in Angular 4x faster! | dev.to | 2022-03-01

    The ngx-crudx is amazingly powerful and configurable. If you like the library, give it a star ⭐ which keeps me motivated to build great stuff. If you want to contribute or find any typo/bug, raise an Issue and lets discuss about it.

  • be-our-guest

    A fast asynchronous IoC service container to help manage your apps dependencies.

    Project mention: I made an Async Service Container for Node/Browser | dev.to | 2021-10-01

    Please take a look at "Be Our Guest" and give us a star at https://github.com/AJStacy/be-our-guest .

  • TypeManager.TS

    A package which will help you to transform your JSON strings or plain objects into JS object instances.

    Project mention: class-transformer VS TypeManager.TS - a user suggested alternative | libhunt.com/r/petrzjunior/class-transformer | 2022-05-22
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-22.

TypeScript Dependency Injection related posts


What are some of the best open-source Dependency Injection projects in TypeScript? This list will help you:

Project Stars
1 InversifyJS 8,903
2 loopback-next 4,152
3 tsyringe 3,110
4 typedi 3,080
5 awilix 2,468
6 Ts.ED 2,085
7 foal 1,547
8 graphql-modules 1,167
9 marshal.ts 851
10 reactant 232
11 Ditox.js 55
12 di-compiler 47
13 diod 38
14 di.libx.js 32
15 entrance-decorator 25
16 ditsmod 22
17 dandi 9
18 ts_injector 6
19 di 5
20 ngx-crudx 5
21 be-our-guest 4
22 TypeManager.TS 1
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.