Dependency Injection In JavaScript

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

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Amplication - open-source Node.js backend code generator
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Sonar - Write Clean JavaScript Code. Always.
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • axios

    Promise based HTTP client for the browser and node.js

    If our requirements change in the future and we decide to replace the Fetch API with say another HTTP client like Axios, we would have to modify the whole function to work with Axios.

  • typedi

    Simple yet powerful dependency injection tool for JavaScript and TypeScript.

    There are a number of Javascript dependency injection container libraries out there. Some of my personal favourites are TypeDI and InversifyJS. Here is an example demonstrating basic usage of Typedi with JavaScript.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

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