Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Garrett Mills
921f8dbe07
|
4 lat temu | |
---|---|---|
App.js | 4 lat temu | |
DependencyInjector.js | 4 lat temu | |
Injectable.js | 4 lat temu | |
README.md | 4 lat temu | |
Service.js | 4 lat temu | |
ServiceContainer.js | 4 lat temu | |
index.js | 4 lat temu |
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.