Dependency Injection for TypeScript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • InversifyJS

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

  • How about in the context of JavaScript and TypeScript? It may not be common to use DI in web frontend development. Nevertheless, there are DI libraries available for JavaScript and TypeScript. For example, AngularJS and Angular have a DI framework built in. There are also libraries that provide DI functionality on its own, such as InversifyJS and TSyringe. Both InversifyJS and TSyringe are DI libraries for use with TypeScript. InversifyJS is a library with over 5000 Github stars and is used in over 18,000 repositories. On the other hand, there doesn't seem to be much active development going on these days. TSyringe is a DI library that is mainly developed by Microsoft. As of September 2020, it has about 1,400 stars on Github, and it seems to be under continuous development.

  • tsyringe

    Lightweight dependency injection container for JavaScript/TypeScript

  • How about in the context of JavaScript and TypeScript? It may not be common to use DI in web frontend development. Nevertheless, there are DI libraries available for JavaScript and TypeScript. For example, AngularJS and Angular have a DI framework built in. There are also libraries that provide DI functionality on its own, such as InversifyJS and TSyringe. Both InversifyJS and TSyringe are DI libraries for use with TypeScript. InversifyJS is a library with over 5000 Github stars and is used in over 18,000 repositories. On the other hand, there doesn't seem to be much active development going on these days. TSyringe is a DI library that is mainly developed by Microsoft. As of September 2020, it has about 1,400 stars on Github, and it seems to be under continuous development.

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