
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Heavily influenced by AngularJS and its implementation of dependency injection. Inspired by Guice and Pico Container.
Inversify is a powerful and flexible inversion of control library for JavaScript & Node.js apps powered by TypeScript. It offers more advanced features like decorators and metadata reflection, which makes it more suitable for complex projects compared to the simpler 'di' package.
BottleJS is a minimalistic dependency injection micro container for JavaScript. It provides similar functionalities to 'di' but also includes middleware support and is slightly more feature-rich while still being lightweight.
Awilix is a dependency injection container for Node.js with support for ES6 Classes and a focus on modularity and testability. It differs from 'di' by offering more comprehensive configuration options and automatic resolution of dependencies.
FAQs
Dependency Injection for Node.js. Heavily inspired by AngularJS.
The npm package di receives a total of 2,283,839 weekly downloads. As such, di popularity was classified as popular.
We found that di demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.