You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
App.js | 4 years ago | |
DependencyInjector.js | 4 years ago | |
Injectable.js | 4 years ago | |
README.md | 4 years ago | |
Service.js | 4 years ago | |
ServiceContainer.js | 4 years ago | |
index.js | 4 years ago |
README.md
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.