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

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
  • 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.

  • iti

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

  • Thank you. I only did itijs.org

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

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

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