Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Garrett Mills
921f8dbe07
|
4 лет назад | |
---|---|---|
App.js | 4 лет назад | |
DependencyInjector.js | 4 лет назад | |
Injectable.js | 4 лет назад | |
README.md | 4 лет назад | |
Service.js | 4 лет назад | |
ServiceContainer.js | 4 лет назад | |
index.js | 4 лет назад |
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.