Has anyone successfully created a Dependency Injection using typescript decorators?

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. tsyringe

    Lightweight dependency injection container for JavaScript/TypeScript

    If you don’t want to tie yourself to a full web framework like Nest, there are a few DI-only frameworks that work with decorators, like TypeDI, TSyringe, or Typed Inject.

  2. 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
  3. iti

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

    Thank you. I only did itijs.org

  4. typedi

    Simple yet powerful dependency injection tool for JavaScript and TypeScript.

    If you don’t want to tie yourself to a full web framework like Nest, there are a few DI-only frameworks that work with decorators, like TypeDI, TSyringe, or Typed Inject.

  5. typed-inject

    Type safe dependency injection for TypeScript

    If you don’t want to tie yourself to a full web framework like Nest, there are a few DI-only frameworks that work with decorators, like TypeDI, TSyringe, or Typed Inject.

  6. proposal-decorators

    Decorators for ES6 classes

    1) old babel legacy decorators 2) current babel, but not legacy decorators 3) typescript implementation 4) current tc39 stage 3 proposal: https://github.com/tc39/proposal-decorators

  7. Docusaurus

    Easy to maintain open source documentation websites.

    I am using an almost vanilla docusaurus V2.

  8. InversifyJS

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

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. needle

    A lightweight flexible Dependency Injection library for use with TypeScript projects. (by morganstanley)

  11. tst-reflect

    Advanced TypeScript runtime reflection system

    Also check out https://github.com/Hookyns/tst-reflect

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • create generic BaseService working with TypeORM

    3 projects | dev.to | 6 Jul 2022
  • Mastering the Dependency Inversion Principle: Best Practices for Clean Code with DI

    2 projects | dev.to | 28 Nov 2024
  • How to Apply SOLID with Testing JS/TS Class Methods

    1 project | dev.to | 13 Jan 2024
  • Typesafe, (almost) Zero Cost Dependency Injection in TypeScript

    12 projects | dev.to | 9 Jan 2023
  • InversifyJS has reached 100,000,000 downloads on npm

    1 project | /r/javascript | 12 Dec 2022

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