TypeScript Dependency Injection

Open-source TypeScript projects categorized as Dependency Injection

Top 23 TypeScript Dependency Injection Projects

Dependency Injection
  1. InversifyJS

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

    Project mention: InversifyJS VS vorarbeiter - a user suggested alternative | libhunt.com/r/InversifyJS | 2025-02-02
  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. tsyringe

    Lightweight dependency injection container for JavaScript/TypeScript

    Project mention: Stop Spaghetti Code! How Clean Architecture Saves Next.js Projects | dev.to | 2025-05-02

    For connecting layers we uses DI(dependency-injection) by tsyringe.

  4. loopback-next

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

  5. typedi

    Simple yet powerful dependency injection tool for JavaScript and TypeScript.

    Project mention: typedi VS vorarbeiter - a user suggested alternative | libhunt.com/r/typedi | 2025-02-02
  6. awilix

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

    Project mention: awilix VS vorarbeiter - a user suggested alternative | libhunt.com/r/awilix | 2025-02-02
  7. marshal.ts

    A new full-featured and high-performance TypeScript framework

  8. 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. ⭐️ Star to support our work!

  9. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  10. foal

    Full-featured Node.js framework 🚀

    Project mention: Node.JS - Foal framework version 4.5 is released 🎉 | dev.to | 2024-08-24

    Version 4.5 of Foal, a full-featured Node.JS framework for building web applications, is out!

  11. graphql-modules

    Enterprise Grade Tooling For Your GraphQL Server

  12. injection-js

    Dependency injection library for JavaScript and TypeScript in 5.1K. It is an extraction of the Angular's ReflectiveInjector which means that it's well designed, feature complete, fast, reliable and well tested.

  13. zedux

    :zap: A Molecular State Engine for React

  14. suites

    Unit testing framework for dependency injection that automates mocking and simplifies test setup, reducing boilerplate code and enabling developers to build comprehensive and reliable test suites with a standardized, type-safe API

  15. tst-reflect

    Advanced TypeScript runtime reflection system

  16. ioc

    :unicorn: lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript (by owja)

    Project mention: ioc VS vorarbeiter - a user suggested alternative | libhunt.com/r/owja/ioc | 2025-02-02
  17. reactant

    A framework for building React applications (by unadlib)

  18. brandi

    The dependency injection container powered by TypeScript.

    Project mention: brandi VS vorarbeiter - a user suggested alternative | libhunt.com/r/brandi | 2025-02-02
  19. awesome-typescript-examples

    ✨ Awesome TypeScript Examples with complete show cases of how to take advantage of the language potential.

  20. iti

    ~1kB Dependency Injection Library for Typescript and React with a unique support of async flow

  21. diod

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

  22. obsidian

    Dependency injection library for React and React Native applications (by wix-incubator)

    Project mention: What I Learned Building My First VSCode Extension | dev.to | 2025-05-12

    I just published my first extension for Visual Studio Code — a language server that adds IntelliSense support for the Obsidian dependency injection framework. In this post, I’ll share some tips and insights I picked up along the way.

  23. Ditox.js

    Dependency injection for modular web applications

  24. ditsmod

    Ditsmod is a Node.js-based web framework designed for building highly extensible and fast applications. Its name combines DI + TS + Mod to highlight its key features: it includes Dependency Injection, is written in TypeScript in ESM format, and is designed with strong Modularity in mind.

    Project mention: NestJS vs. Ditsmod: Pipe Features | dev.to | 2024-10-03

    Unlike NestJS, Ditsmod does not have a specific architectural entity like pipes. Instead, it has FactoryProviders, which are passed into the module or controller metadata like this:

  25. di-compiler

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

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
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).

TypeScript Dependency Injection discussion

Log in or Post with

TypeScript Dependency Injection related posts

  • What I Learned Building My First VSCode Extension

    4 projects | dev.to | 12 May 2025
  • Stop Spaghetti Code! How Clean Architecture Saves Next.js Projects

    2 projects | dev.to | 2 May 2025
  • Framework-Level DI Even for student Node.js Developers

    1 project | dev.to | 25 Mar 2025
  • Find x: React + MobX + SSR + x = Happiness

    2 projects | dev.to | 11 Feb 2025
  • awilix VS vorarbeiter - a user suggested alternative

    2 projects | 2 Feb 2025
  • tsyringe VS vorarbeiter - a user suggested alternative

    2 projects | 2 Feb 2025
  • TypeScript VS vorarbeiter - a user suggested alternative

    2 projects | 2 Feb 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 InversifyJS 11,706
2 tsyringe 5,441
3 loopback-next 5,011
4 typedi 4,152
5 awilix 3,755
6 marshal.ts 3,339
7 Ts.ED 2,959
8 foal 1,918
9 graphql-modules 1,326
10 injection-js 1,238
11 zedux 438
12 suites 419
13 tst-reflect 351
14 ioc 301
15 reactant 231
16 brandi 206
17 awesome-typescript-examples 185
18 iti 149
19 diod 144
20 obsidian 127
21 Ditox.js 97
22 ditsmod 94
23 di-compiler 83

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?