App.js | ||
DependencyInjector.js | ||
index.js | ||
Injectable.js | ||
README.md | ||
Service.js | ||
ServiceContainer.js |
Basic Dependency Injection
In less than 100 lines of pure, ES6 JavaScript
This is a very bare-bones dependency injector implementation based on the ES6 classes. It's meant to illustrate the feasibility and benefits of using a service-based dependency injector for Node.js/JavaScript applications.
I discuss this project in greater depth in my blog post here.