Our great sponsors
-
InversifyJS
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by 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.
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.
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.