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 - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • iti

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

    Thank you. I only did itijs.org

  • 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.

  • 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.

  • 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

  • Docusaurus

    Easy to maintain open source documentation websites.

    I am using an almost vanilla docusaurus V2.

  • InversifyJS

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

  • SaaSHub

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

    SaaSHub logo
  • needle

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

  • 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
  • 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
  • InversifyJS has reached 100,000,000 downloads on npm 🎉 🚀

    1 project | dev.to | 12 Dec 2022

Did you konow that TypeScript is
the 2nd most popular programming language
based on number of metions?